This repository has been archived by the owner on May 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.99 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
{
"name": "react-component-boilerplate",
"version": "1.0.0",
"description": "my personal boilerplate for react components",
"main": "lib/component-name.min.js",
"module": "es6/index.js",
"repository": "git@github.com:moki/react-component-boilerplate.git",
"author": "Kirill Morozov (moki) <morozov.kirill.moki@gmail.com>",
"license": "MIT",
"keywords": [
"react",
"reactjs",
"component",
"boilerplate"
],
"scripts": {
"start": "webpack-dev-server --config webpack.config.dev.babel.js",
"build:prod": "yarn verify && yarn clear:umd && yarn build:umd && yarn clear:es6 && yarn build:es6",
"build:umd": "webpack --config webpack.config.prod.babel.js",
"build:es6": "babel src/lib -d es6 --ignore .test.js",
"clear": "yarn clear:umd && yarn clear:es6",
"clear:umd": "rm -rf lib",
"clear:es6": "rm -rf es6",
"verify": "yarn lint && yarn flow && yarn test",
"lint": "eslint src",
"flow": "flow",
"test": "jest --colors --coverage",
"precommit": "yarn verify",
"prepush": "yarn verify",
"prepublish": "yarn build:prod",
"setup:peers": "npm install babel-polyfill@latest react@latest react-dom@latest"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-jest": "^19.0.0",
"babel-loader": "^7.0.0",
"babel-plugin-flow-react-proptypes": "^2.1.3",
"babel-preset-env": "^1.4.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-flowtype": "^2.32.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^3.0.2 || ^4.0.0",
"eslint-plugin-react": "^6.9.0",
"flow-bin": "^0.45.0",
"husky": "^0.13.3",
"jest": "^19.0.2",
"react-hot-loader": "next",
"webpack": "^2.5.0",
"webpack-dev-server": "^2.4.5"
},
"peerDependencies": {
"babel-polyfill": "^6.23.0",
"react": "^15.5.4",
"react-dom": "^15.5.4"
}
}