This repository has been archived by the owner on Oct 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.06 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
{
"name": "react-router-ext",
"version": "0.0.1",
"description": "An Extended react-router-dom with simple usage",
"repository": "git@github.com:ri7nz/react-router-ext.git",
"author": "ri7nz <ri7nz.labs@gmail.com>",
"license": "MIT",
"source": "src/index.js",
"main": "dist/react-router-ext.js",
"module": "dist/react-router-ext.es.js",
"umd:main": "dist/react-router-ext.umd.js",
"files": [
"src",
"dist",
"react-router-ext",
"MainRouter"
],
"babel": {
"presets": [
[
"env",
{
"targets": {
"node": true
}
}
]
],
"plugins": [
[
"transform-react-jsx"
]
]
},
"devDependencies": {
"@babel/preset-env": "7.5.5",
"babel-eslint": "10.0.2",
"babel-jest": "24.8.0",
"babel-preset-env": "1.7.0",
"bundlesize": "0.17.2",
"documentation": "12.0.3",
"eslint": "5.16.0",
"eslint-plugin-jest": "22.7.1",
"gzip-size-cli": "3.0.0",
"jest": "24.8.0",
"microbundle": "0.11.0",
"npm-run-all": "4.1.5",
"react": "16.8.6",
"react-dom": "16.8.6",
"react-router-dom": "5.0.1",
"strip-json-comments-cli": "1.0.1"
},
"peerDependencies": {
"react": "*",
"react-router-dom": "*"
},
"scripts": {
"dev": "microbundle watch",
"build": "npm-run-all --silent -p build:main -s size docs",
"build:main": "microbundle",
"size": "strip-json-comments --no-whitespace dist/react-router-ext.js | gzip-size ",
"docs": "documentation readme src/*.js -q --section API && yarn fixreadme",
"lint": "eslint -c .eslintrc ./src --fix",
"prepare": "rm -rf dist && yarn build",
"test": "jest --config jest.config.js",
"test:watch": "jest --watch",
"test:size": "bundlesize",
"fixreadme": "node -e 'var fs=require(\"fs\");fs.writeFileSync(\"README.md\", fs.readFileSync(\"README.md\", \"utf8\").replace(/^- /gm, \"- \"))'",
"release": "yarn -s prepare && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
}
}