This repository has been archived by the owner on May 15, 2024. It is now read-only.
forked from remix-run/react-router
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
163 lines (163 loc) · 5.25 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "@americanexpress/one-app-router",
"version": "1.2.1",
"description": "A complete routing library for One App, forked from React Router",
"files": [
"*.md",
"docs",
"es",
"lib",
"umd"
],
"main": "lib/index",
"module": "es/index",
"jsnext:main": "es/index",
"repository": "https://github.com/americanexpress/one-app-router",
"homepage": "https://github.com/americanexpress/one-app-router",
"bugs": {
"url": "https://github.com/americanexpress/one-app-router/issues"
},
"scripts": {
"build": "npm run build-cjs && npm run build-es",
"build-cjs": "rimraf lib && cross-env BABEL_ENV=cjs babel ./modules -d lib --ignore __tests__",
"build-es": "rimraf es && cross-env BABEL_ENV=es babel ./modules -d es --ignore __tests__",
"build-umd": "cross-env NODE_ENV=development webpack modules/index.js umd/ReactRouter.js",
"build-min": "cross-env NODE_ENV=production webpack -p modules/index.js umd/ReactRouter.min.js",
"prepublish": "npm run build",
"lint": "eslint examples modules scripts tools *.js",
"start": "node examples/server.js",
"test": "npm run lint && npm run test-node && npm run test-browser",
"test-browser": "cross-env NODE_ENV=test karma start --single-run",
"test:git-history": "commitlint --from origin/main --to HEAD",
"test-browser:watch": "cross-env NODE_ENV=test karma start",
"test-node": "cross-env NODE_ENV=test mocha --require babel-register tests.node.js",
"test:lockfile": "lockfile-lint -p package-lock.json -t npm -a npm -o https: -c -i",
"posttest": "npm run test:git-history && npm run test:lockfile"
},
"contributors": [
"Andres Escobar <[email protected]> (https://github.com/anescobar1991)",
"James Singleton <[email protected]> (https://github.com/JamesSingleton)",
"Jamie King <[email protected]> (https://github.com/10xLaCroixDrinker)",
"Jonathan Adshead <[email protected]> (https://github.com/JAdshead)",
"Michael Tobia <[email protected]> (https://github.com/Francois-Esquire)",
"Michael Tomcal <[email protected]> (https://github.com/mtomcal))",
"Stephanie Coates <[email protected]> (https://github.com/stephaniecoates)",
"Nelly Kiboi <[email protected]> (https://github.com/nellyk)",
"Nickolas Oliver <[email protected]> (https://github.com/PixnBits)",
"Ryan Florence",
"Michael Jackson"
],
"license": "Apache-2.0",
"dependencies": {
"history": "^3.0.0",
"hoist-non-react-statics": "^3.2.1",
"invariant": "^2.2.1",
"loose-envify": "^1.2.0",
"prop-types": "^15.5.6",
"warning": "^3.0.0"
},
"peerDependencies": {
"react": "*"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/npm": "^7.0.6",
"@semantic-release/release-notes-generator": "^9.0.1",
"babel-cli": "^6.11.4",
"babel-core": "^6.13.2",
"babel-eslint": "^7.2.1",
"babel-loader": "^6.2.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-istanbul": "^4.1.1",
"babel-polyfill": "^6.13.0",
"babel-preset-es2015": "^6.13.2",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-1": "^6.13.0",
"babel-register": "^6.11.6",
"bundle-loader": "^0.5.4",
"codecov": "^3.0.0",
"cross-env": "^5.1.3",
"css-loader": "^0.27.3",
"eslint": "^6.5.0",
"eslint-config-rackt": "^1.1.1",
"eslint-plugin-react": "^7.15.0",
"expect": "^1.20.2",
"express": "^4.14.0",
"express-urlrewrite": "^1.2.0",
"gzip-size": "^4.1.0",
"husky": "^3.0.9",
"is-equal": "^1.5.5",
"karma": "^2.0.5",
"karma-browserstack-launcher": "^1.0.1",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-mocha": "^1.1.1",
"karma-mocha-reporter": "^2.0.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.3",
"lockfile-lint": "^3.0.8",
"mocha": "^5.0.4",
"pretty-bytes": "^4.0.2",
"qs": "^6.2.1",
"react": "^16.0.0",
"react-addons-css-transition-group": "^15.6.0",
"react-dom": "^16.0.0",
"rimraf": "^2.5.4",
"semantic-release": "^17.2.1",
"style-loader": "^0.16.1",
"webpack": "^1.13.1",
"webpack-dev-middleware": "^1.6.1"
},
"browserify": {
"transform": [
"loose-envify"
]
},
"tags": [
"react",
"router"
],
"keywords": [
"react",
"react-component",
"routing",
"route",
"routes",
"router"
],
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}