forked from ReactTooltip/react-tooltip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 2.69 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
{
"name": "react-tooltip",
"version": "2.0.1",
"description": "react tooltip component",
"main": "index.js",
"scripts": {
"check": "standard --verbose | snazzy src/index.js",
"test": "npm run check",
"devjs": "node bin/transferSass.js & watchify -t babelify ./example/src/index.js -o ./example/dist/index.js -dv",
"devcss": "node-sass example/src/index.scss example/dist/index.css & node-sass -w example/src/index.scss example/dist/index.css",
"predev": "rm -rf example/dist",
"dev": "mkdir -p ./example/dist & npm run devjs & npm run devcss & http-server example -p 8888 -s -o",
"deployjs": "babel src/index.js -o dist/react-tooltip.js && babel src/style.js -o dist/style.js && npm run deployminjs",
"deployminjs": "babel src/index.js | uglifyjs > dist/react-tooltip.min.js",
"predeploycss": "cp src/index.scss dist/react-tooltip.scss",
"deploycss": "node-sass --output-style compressed src/index.scss dist/react-tooltip.min.css",
"predeploy": "rm -rf dist",
"deploy": "mkdir dist & npm run deployjs & npm run deploycss & npm run standjs",
"prestandjs": "rm -rf standalone",
"standjs": "mkdir standalone && browserify -t babelify -t browserify-shim src/index.js --standalone ReactTooltip -o standalone/react-tooltip.js & npm run standminjs",
"standminjs": "browserify -t babelify -t browserify-shim src/index.js --standalone ReactTooltip | uglifyjs > standalone/react-tooltip.min.js",
"poststandjs": "cp ./dist/style.js ./standalone/style.js"
},
"standard": {
"parser": "babel-eslint",
"ignore": [
"dist/",
"standalone/",
"src/style.js",
"example/"
]
},
"repository": {
"type": "git",
"url": "https://github.com/wwayne/react-tooltip"
},
"keywords": [
"react",
"react-component",
"tooltip",
"react-tooltip"
],
"author": "wwayne",
"license": "MIT",
"bugs": {
"url": "https://github.com/wwayne/react-tooltip/issues"
},
"homepage": "https://github.com/wwayne/react-tooltip",
"browserify-shim": {
"react": "global:React",
"react-dom": "global:ReactDOM"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0",
"react-dom": "^0.14.0 || ^15.0.0"
},
"dependencies": {
"classnames": "^2.2.0"
},
"devDependencies": {
"babel-cli": "^6.5.1",
"babel-eslint": "^4.1.1",
"babel-plugin-transform-runtime": "^6.5.0",
"babel-preset-es2015": "^6.5.0",
"babel-preset-react": "^6.5.0",
"babelify": "^7.2.0",
"browserify": "^13.0.0",
"browserify-shim": "^3.8.12",
"http-server": "^0.8.0",
"node-sass": "^3.3.2",
"snazzy": "^2.0.1",
"standard": "^5.2.2",
"tape": "^4.2.0",
"uglifyjs": "^2.4.10",
"watchify": "^3.2.1"
}
}