-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.63 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
{
"name": "react-switchery-component",
"version": "0.0.6",
"description": "React switch component. Clone of Switchery rewritten for React.",
"peerDependencies": {
"react": ">=0.14.0 <17.0.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"cross-env": "^5.0.1",
"eslint": "^3.3.1",
"eslint-plugin-react": "^6.1.2",
"npm-run-all": "^4.0.2",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"rimraf": "^2.6.1",
"rollup": "^0.45.2",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-replace": "^1.1.1",
"rollup-plugin-uglify": "^2.0.1"
},
"files": [
"es",
"lib",
"dist",
"react-switchery-component.css"
],
"dependencies": {
"prop-types": "^15.5.10"
},
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"scripts": {
"prebuild": "npm run clean",
"build": "run-p build:**",
"build:es": "cross-env BABEL_ENV=es rollup -c -i src/index.js -o es/index.js",
"build:cjs": "cross-env BABEL_ENV=cjs rollup -c -i src/index.js -o lib/index.js",
"build:umd:prod": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c rollup.umd.config.js -i src/index.js -o dist/react-switchery-component.min.js",
"build:umd:dev": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c rollup.umd.config.js -i src/index.js -o dist/react-switchery-component.js",
"build:example": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c example/rollup.config.js -i example/index.js -o example/bundle.js",
"clean": "rimraf es && rimraf lib && rimraf dist",
"lint": "eslint src",
"prepare": "npm run build",
"prerelease": "npm run lint",
"release:patch": "npm run prerelease && npm version patch && npm publish && git push --follow-tags",
"release:minor": "npm run prerelease && npm version minor && npm publish && git push --follow-tags",
"release:major": "npm run prerelease && npm version major && npm publish && git push --follow-tags"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/shlensky/react-switchery-component.git"
},
"keywords": [
"switchery",
"react",
"switch",
"toggle"
],
"author": "Dmitry Shlensky <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/shlensky/react-switchery-component/issues"
},
"homepage": "https://github.com/shlensky/react-switchery-component#readme"
}