forked from ui-router/react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 3.2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "@uirouter/react",
"version": "1.0.3",
"description": "State based routing for React",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"jsnext:main": "lib-esm/index.js",
"module": "lib-esm/index.js",
"scripts": {
"test": "jest",
"test:debug": "node --inspect ./node_modules/.bin/jest --runInBand --watch",
"test:downstream": "npm run build && test_downstream_projects",
"start": "cross-env NODE_ENV=development webpack-dev-server --host 0.0.0.0 --port 8000 --config ./examples/typescript/webpack.config.js --history-api-fallback --content-base examples/typescript",
"clean": "shx rm -rf _bundles lib lib-esm build",
"compile": "npm run clean && tsc && tsc -m es6 --outDir lib-esm",
"bundle": "cross-env NODE_ENV=production webpack",
"build": "run-s compile bundle fixmaps:*",
"release": "release --deps @uirouter/core",
"fixmaps:lib": "tweak_sourcemap_paths -a --include 'lib/**/*.js.map' 'lib-esm/**/*.js.map'",
"fixmaps:bundle": "tweak_sourcemap_paths -a --include '_bundles/**/*.js.map'",
"docs": "generate_docs",
"docs:publish": "generate_docs && publish_docs",
"prepublishOnly": "npm run build",
"artifacts": "artifact_tagging",
"prettier": "npx prettier --write src/**/*.[jt]s src/**/*.[jt]sx"
},
"homepage": "https://ui-router.github.io/react",
"contributors": [
{
"name": "Marco Botto",
"web": "https://github.com/elboman"
},
{
"name": "Chris Thielen",
"web": "https://github.com/christopherthielen"
}
],
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ui-router/react.git"
},
"dependencies": {
"@uirouter/core": "6.0.5",
"classnames": "^2.2.5",
"prop-types": "^15.6.1"
},
"peerDependencies": {
"react": "^16.8.0"
},
"devDependencies": {
"@types/classnames": "^2.2.5",
"@types/enzyme": "^3.10.4",
"@types/jest": "^25.1.1",
"@types/lodash": "^4.14.149",
"@types/prop-types": "15.7.3",
"@types/react": "16.9.34",
"@types/react-dom": "16.9.7",
"@uirouter/publish-scripts": "^2.3.45",
"babel-jest": "^25.5.1",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"chalk": "^4.0.0",
"cross-env": "^7.0.0",
"enzyme": "^3.4.1",
"enzyme-adapter-react-16": "^1.15.0",
"husky": "^4.2.1",
"jest": "25.5.4",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"ts-jest": "^25.2.0",
"ts-loader": "^7.0.1",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typescript": "^3.7.2",
"webpack": "^4.19.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
},
"jest": {
"setupFiles": [
"../jest.setup.js"
],
"rootDir": "src",
"transform": {
".(ts|tsx)": "ts-jest"
},
"moduleFileExtensions": [
"js",
"json",
"ts",
"tsx"
],
"globals": {
"ts-jest": {
"tsConfig": "./tsconfig.jest.json"
}
},
"preset": "ts-jest",
"restoreMocks": true
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}