forked from pixeleet/react-cookie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 2.27 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
{
"private": true,
"workspaces": [
"packages/*"
],
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@size-limit/preset-small-lib": "^2.2.4",
"awesome-typescript-loader": "^5.2.0",
"babel-loader": "^8.0.0",
"babel-plugin-add-module-exports": "^1.0.0",
"husky": "^3.0.0",
"jasmine-core": "^3.2.0",
"karma": "^4.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^2.0.1",
"karma-jasmine-html-reporter": "^1.3.0",
"karma-sauce-launcher": "^2.0.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "^0.0.32",
"karma-webpack": "^4.0.2",
"prettier": "^1.14.2",
"rimraf": "^3.0.0",
"rollup": "^1.16.4",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^6.0.2",
"typescript": "^3.0.1",
"webpack": "^4.16.5"
},
"scripts": {
"format": "prettier packages/**/*.js packages/**/*.ts packages/**/*.tsx --single-quote --write",
"test": "npm run build && npm run size && karma start --single-run",
"watch": "karma start",
"build": "npm run build-universal && npm run build-react && npm run build-express && npm run build-koa && npm run build-demo",
"build-universal": "cd packages/universal-cookie && npm run build",
"build-react": "cd packages/react-cookie && npm run build",
"build-express": "cd packages/universal-cookie-express && npm run build",
"build-koa": "cd packages/universal-cookie-koa && npm run build",
"build-demo": "cd packages/react-cookie-demo && npm run build",
"size": "size-limit"
},
"husky": {
"hooks": {
"pre-commit": "npm run format && npm test"
}
},
"size-limit": [
{
"path": "./packages/universal-cookie/lib/index.js",
"limit": "2.5 KB"
},
{
"path": "./packages/universal-cookie-express/lib/index.js",
"limit": "2.5 KB"
},
{
"path": "./packages/universal-cookie-koa/lib/index.js",
"limit": "2.5 KB"
},
{
"path": "./packages/react-cookie/lib/index.js",
"limit": "10 KB"
}
],
"dependencies": {}
}