-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.2 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
{
"name": "go-lib",
"version": "0.4.0",
"description": "A React Component that renders a GO Board",
"author": "Alexander Lücking <alexluecking@gmail.com>",
"browser": "dist/go-lib.js",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"license": "MIT",
"files": [
"components",
"dist",
"lib",
"es",
"src",
"flow-typed",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "https://github.com/beldur/go-lib.git"
},
"scripts": {
"clean": "rimraf lib dist es",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --ignore *.test.js",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es --ignore *.test.js",
"build:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c -i src/index.js -o dist/go-lib.js",
"build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c -i src/index.js -o dist/go-lib.min.js",
"build": "yarn run build:commonjs && yarn run build:es && yarn run build:umd && yarn run build:umd:min",
"prepublish": "yarn run clean && yarn run build",
"test": "cross-env BABEL_ENV=commonjs jest",
"test:watch": "cross-env BABEL_ENV=commonjs jest --watch",
"test:coverage": "cross-env BABEL_ENV=commonjs jest --coverage",
"example": "cross-env BABEL_ENV=es NODE_ENV=serve rollup -c -w -i src/index.js -o dist/go-lib.js"
},
"jest": {
"verbose": true
},
"devDependencies": {
"babel-cli": "^6.23.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.1.11",
"babel-preset-react": "^6.23.0",
"cross-env": "^4.0.0",
"enzyme": "^2.7.1",
"jest": "^20.0.0",
"prop-types": "^15.5.8",
"react": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15.4.2",
"rimraf": "^2.6.1",
"rollup": "^0.41.6",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-serve": "^0.3.0",
"rollup-plugin-uglify": "^1.0.2",
"rollup-watch": "^3.2.2"
},
"peerDependencies": {
"prop-types": "^15.5.8",
"react": "^15.4.2"
}
}