/
package.json
81 lines (81 loc) · 2.65 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
{
"name": "react-component-starter",
"version": "0.1.0",
"description": "Starter kit for React components in es6",
"main": "./lib/index.js",
"files": [
"dist",
"lib",
"src",
"css"
],
"style": "dist/style.css",
"scripts": {
"clean": "rimraf lib dist coverage",
"check": "npm run lint && npm run test",
"lint": "eslint --ext=js,jsx src __tests__",
"build:css": "node-sass css/styles.scss dist/style.css",
"build:lib": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js dist/react-component-starter.js",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js dist/react-component-starter.min.js",
"build": "npm run build:lib && npm run build:umd && npm run build:umd:min && npm run build:css",
"deploy-storybook": "storybook-to-ghpages",
"test": "cross-env BABEL_ENV=commonjs jest --config .jestconfig",
"test:cov": "npm test -- --coverage",
"test:watch": "npm test -- --watch",
"prepublish": "npm run clean && npm run check && npm run build --kill --print",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"repository": {
"type": "git",
"url": "https://github.com/yangshun/react-component-starter.git"
},
"keywords": [
"react",
"component",
"starter",
"es2015",
"commonjs",
"umd"
],
"author": "Tay Yang Shun <tay.yang.shun@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/yangshun/react-component-starter/issues"
},
"homepage": "https://github.com/yangshun/react-component-starter",
"devDependencies": {
"@kadira/storybook": "^2.35.3",
"@kadira/storybook-deployer": "^1.2.0",
"babel-cli": "^6.24.0",
"babel-core": "^6.24.0",
"babel-eslint": "^7.2.1",
"babel-jest": "^19.0.0",
"babel-loader": "^6.4.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.16.0",
"babel-preset-es2015": "^6.16.0",
"babel-preset-react": "^6.22.0",
"cross-env": "^4.0.0",
"css-loader": "^0.28.0",
"enzyme": "^2.7.1",
"eslint": "^3.15.0",
"eslint-config-airbnb": "^14.0.0",
"eslint-plugin-import": "^2.0.1",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.9.0",
"jest": "^19.0.2",
"node-sass": "^4.5.0",
"react": "^15.0.0",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15.0.0",
"rimraf": "^2.5.4",
"sass-loader": "^6.0.3",
"style-loader": "^0.16.1",
"webpack": "^2.3.2"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0",
"react-dom": "^0.14.0 || ^15.0.0"
}
}