forked from sghall/react-compound-slider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·107 lines (107 loc) · 3.25 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
{
"name": "react-compound-slider",
"version": "1.2.1",
"description": "Futuristic react slider component",
"keywords": [
"react",
"react-component",
"range-slider",
"input-range",
"range",
"slider",
"form",
"input"
],
"repository": {
"type": "git",
"url": "https://github.com/sghall/react-compound-slider.git"
},
"main": "./index.js",
"author": "Steven Hall",
"license": "MIT",
"peerDependencies": {
"react": "^16.3.0"
},
"dependencies": {
"@babel/runtime": "^7.3.4",
"d3-array": "^1.2.4",
"prop-types": "^15.7.2",
"warning": "^3.0.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/node": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/plugin-transform-runtime": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-plugin-istanbul": "^5.1.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"chai": "^4.2.0",
"coveralls": "^3.0.3",
"cross-env": "^5.2.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.10.0",
"eslint": "^5.15.1",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"jsdom": "^13.2.0",
"lint-staged": "^8.1.5",
"mocha": "^5.2.0",
"nyc": "^13.3.0",
"prettier-eslint-cli": "^4.7.1",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"rimraf": "^2.6.3",
"rollup": "^1.6.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-size-snapshot": "^0.8.0",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-uglify": "^6.0.2",
"sinon": "^7.2.7",
"webpack": "^4.29.6"
},
"scripts": {
"docs": "cd docs && npm install && npm run start",
"prebuild": "npm run build:cln",
"build": "npm run build:lib && npm run build:cpy",
"build:cln": "rimraf build",
"build:lib": "node ./scripts/build.js",
"build:cpy": "cross-env BABEL_ENV=cjs babel-node ./scripts/copy-files.js",
"lint": "eslint --fix src docs/src test --quiet --cache && echo \"eslint: no lint errors\"",
"test": "cross-env BABEL_ENV=test mocha \"src/**/*.spec.js\"",
"test:watch": "npm run test -- -w",
"test:coverage": "cross-env NODE_ENV=test BABEL_ENV=coverage nyc mocha \"src/**/*.spec.js\" && nyc report --reporter=lcov",
"test:coverage:html": "cross-env NODE_ENV=test BABEL_ENV=coverage nyc mocha \"src/**/*.spec.js\" && nyc report --reporter=html",
"pretty": "prettier-eslint src/**/*.js --write --no-semi --single-quote --trailing-comma=all --print-width 80",
"pretty-docs": "prettier-eslint docs/src/**/*.js --write --no-semi --single-quote --trailing-comma=all --print-width 80"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier-eslint --write --no-semi --single-quote --trailing-comma=all --print-width 80",
"git add"
]
},
"nyc": {
"include": [
"src/**/*.js"
],
"exclude": [
"**/*.spec.js"
],
"sourceMap": false,
"instrument": false
}
}