-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
89 lines (89 loc) · 2.71 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
{
"name": "react-hold",
"version": "0.2.1",
"description": "Hold the empty presentational components in react.js",
"main": "lib/index.js",
"nextjs:main": "es/index.js",
"files": [
"src",
"es",
"lib",
"umd"
],
"scripts": {
"clean": "rimraf es lib umd",
"prepare": "npm run clean && npm run build",
"prepack": "npm run test && npm run lint",
"build": "npm run build:es && npm run build:commonjs && npm run build:umd && npm run build:umd:min",
"build:es": "babel src --out-dir es",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack",
"lint": "eslint src",
"test": "jest",
"test:src": "jest src",
"test:in:ci": "npm run test:src && codecov",
"examples": "cross-env BABEL_ENV=commonjs webpack-dev-server --hot --inline --config examples/webpack.config.js --content-base examples",
"examples:build": "cross-env NODE_ENV=production BABEL_ENV=commonjs webpack --config examples/webpack.config.js"
},
"keywords": [
"react",
"hold",
"holder"
],
"author": "toplan <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/toplan/react-hold"
},
"dependencies": {
"hoist-non-react-statics": "^1.2.0"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0",
"react-dom": "*",
"prop-types": "*"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"babel-loader": "^7.0.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"codecov": "^2.2.0",
"cross-env": "^5.0.1",
"css-loader": "^0.28.4",
"enzyme": "^2.9.1",
"enzyme-to-json": "^1.5.1",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.10.3",
"file-loader": "^0.11.2",
"jest": "^20.0.4",
"less": "^2.7.2",
"less-loader": "^4.0.4",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-hold-animation": "^0.1.1",
"react-test-renderer": "^15.6.1",
"regenerator-runtime": "^0.10.5",
"rimraf": "^2.6.1",
"style-loader": "^0.18.2",
"url-loader": "^0.5.8",
"webpack": "^1.12.14",
"webpack-dev-server": "^1.14.1"
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}