forked from kyeotic/raviger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.29 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 3.29 KB
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
{
"name": "raviger",
"version": "2.1.0",
"description": "React routing with hooks",
"main": "dist/main.js",
"module": "dist/module.js",
"files": [
"dist/",
"types/"
],
"engines": {
"node": ">=10.0.0"
},
"types": "types/raviger.d.ts",
"keywords": [
"react",
"hooks",
"router",
"routing",
"route",
"navigation",
"navigator"
],
"repository": "git@github.com:kyeotic/raviger.git",
"author": "Tim Kye <tyrsius@gmail.com>",
"license": "MIT",
"private": false,
"scripts": {
"style": "prettier --config package.json --write \"{src,test}/**/*.js\"",
"style:ci": "prettier --config package.json --check \"{src,test}/**/*.js\"",
"lint": "eslint -c package.json \"{src,test}/**/*.js\"",
"check": "npm run style && npm run lint",
"check:ci": "npm run style:ci && npm run lint",
"build": "rollup -c",
"build:watch": "rollup -c --watch",
"example:build": "NODE_ENV=development rollup -c example/rollup.config.js && yarn run example:build:link-react",
"example:build:watch": "rollup -c example/rollup.config.js --watch",
"example:build:link-react": "mkdir -p example/dist && ln -sf $PWD/node_modules/react/umd/react.development.js example/dist/react.js && ln -sf $PWD/node_modules/react-dom/umd/react-dom.development.js example/dist/react-dom.js && ln -sf $PWD/node_modules/@welldone-software/why-did-you-render/dist/umd/whyDidYouRender.js example/dist/whyDidYouRender.js",
"example:serve": "npm run example:build:link-react && http-server example/ -p 8080 --proxy http://localhost:8080?",
"example:dev": "run-p example:build:watch example:serve",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:coverage:open": "run-s test:coverage coverage:report",
"test:unit:ci": "jest --ci --coverage --reporters=default --reporters=jest-junit",
"coverage:report": "open coverage/lcov-report/index.html",
"test:ci": "run-s check:ci test:unit:ci size",
"size": "run-s build size:check",
"size:check": "size-limit",
"prepublishOnly": "run-s test:ci",
"release": "np"
},
"peerDependencies": {
"react": "^16.8.0"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@kyeotic/eslint-config": "^1.0.2",
"@size-limit/preset-small-lib": "^4.0.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^8.0.7",
"@types/jest": "^24.9.1",
"@welldone-software/why-did-you-render": "^3.6.0",
"babel-jest": "^24.8.0",
"core-js": "^3.6.5",
"eslint": "^5.6.0",
"eslint-plugin-jest": "^22.21.0",
"eslint-plugin-react": "^7.18.3",
"http-server": "^0.11.1",
"jest": "^24.8.0",
"jest-junit": "^8.0.0",
"np": "^6.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rollup": "^1.31.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"size-limit": "^4.0.0"
},
"np": {
"yarn": false
},
"prettier": {
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 80
},
"size-limit": [
{
"webpack": false,
"path": "dist/module.js",
"limit": "2.5kb"
}
]
}