-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
116 lines (116 loc) · 3.08 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
{
"name": "react-jss-hmr",
"version": "1.0.0",
"description": "Hot module replacement for react-jss",
"main": "lib/index.js",
"engines": {
"node": ">=4"
},
"scripts": {
"all": "npm run lint && npm run test && npm run build && npm run size",
"build": "npm run clean && npm run build:lib && npm run build:dist",
"build:lib": "babel src --out-dir lib --ignore src/tests",
"build:dist": "npm run build:dist:max && npm run build:dist:min",
"build:dist:max": "cross-env NODE_ENV=development webpack-cli src/index.js -o dist/react-jss-hmr.js",
"build:dist:min": "cross-env NODE_ENV=production webpack-cli src/index.js -o dist/react-jss-hmr.min.js",
"clean": "rimraf {lib,dist,tmp}/*",
"lint": "eslint ./src",
"lint:staged": "lint-staged",
"test": "cross-env BABEL_ENV=test NODE_ENV=test jest --no-cache",
"prepublishOnly": "npm run all",
"size": "size-limit",
"preversion": "npm run size"
},
"jest": {
"setupFiles": [
"<rootDir>/testConfig/setupTests.js"
],
"transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest"
},
"collectCoverage": true
},
"size-limit": [
{
"path": "dist/react-jss-hmr.js",
"limit": "22 KB"
}
],
"repository": {
"type": "git",
"url": "https://github.com/cssinjs/react-jss-hmr.git"
},
"keywords": [
"react",
"style",
"css",
"stylesheet",
"jss",
"hoc",
"hmr"
],
"author": "Pete Feltham <[email protected]> (http://github.com/felthy)",
"license": "MIT",
"bugs": {
"url": "https://github.com/cssinjs/react-jss-hmr/issues"
},
"homepage": "https://github.com/cssinjs/react-jss-hmr",
"peerDependencies": {
"react": ">=15",
"react-jss": "^8.6.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^7.1.0",
"babel-jest": "^23.2.0",
"babel-loader": "^7.1.5",
"babel-plugin-rewire": "^1.1.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"common-tags": "^1.8.0",
"cross-env": "^5.2.0",
"enhanced-resolve": "^4.1.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"es5-shim": "^4.5.10",
"eslint": "^3.6.0",
"eslint-config-airbnb": "^13.0.0",
"eslint-config-jss": "^3.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.3.0",
"expect.js": "^0.3.1",
"jest": "^23.3.0",
"jsdom": "^11.11.0",
"lint-staged": "^7.2.0",
"memory-fs": "^0.4.1",
"pre-commit": "^1.2.2",
"react": "^16.4.1",
"react-deep-force-update": "^2.1.1",
"react-dom": "^16.4.1",
"react-hot-loader": "^4.3.3",
"react-jss": "^8.6.0",
"rimraf": "^2.6.2",
"size-limit": "^0.18.3",
"webpack": "^4.15.1",
"webpack-cli": "^3.0.8",
"webpack-command": "^0.4.0"
},
"dependencies": {},
"lint-staged": {
"src/**/*.js": [
"eslint --fix",
"git add"
]
},
"pre-commit": "lint:staged",
"files": [
"lib",
"dist",
"readme.md",
"changelog.md",
"LICENSE",
"webpack.js"
]
}