-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
73 lines (73 loc) · 2.9 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-sticky-state",
"version": "2.1.9",
"description": "React StickyState Component makes native position:sticky statefull and polyfills the missing sticky browser feature",
"main": "lib/react-sticky-state.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "cp src/sticky-state.css dist/ && npm run dist:js && npm run dist:js:min && npm run build:lib",
"build:js": "browserify --fast -e src/react-sticky-state.js -d --standalone ReactStickyState -t babelify -t browserify-shim | derequire | exorcist dist/react-sticky-state.min.js.map > dist/react-sticky-state.min.js",
"dist:js": "BABEL_ENV=production NODE_ENV=production browserify -e src/react-sticky-state.js --standalone ReactStickyState -t babelify -t browserify-shim | derequire > dist/react-sticky-state.min.js",
"dist:js:min": "uglifyjs -cmv dist/react-sticky-state.min.js -o dist/react-sticky-state.min.js",
"dist": "cp src/sticky-state.css dist/ && npm run dist:js && npm run dist:js:min && npm run build:lib",
"start": "run-p watch:js server",
"build:lib": "BABEL_ENV=production babel src -d lib",
"watch:js": "watchify -d --poll=100 --fast --standalone ReactStickyState -e src/react-sticky-state.js -t babelify -t browserify-shim -o 'exorcist dist/react-sticky-state.min.js.map > dist/react-sticky-state.min.js' -v",
"server": "browser-sync start --no-ghost-mode --server --directory --files 'examples/**/**, dist/*.js' --startPath examples/index.html"
},
"repository": {
"type": "git",
"url": "git+https://github.com/soenkekluth/react-sticky-state.git"
},
"keywords": [
"react",
"component",
"sticky",
"position:sticky",
"position",
"state"
],
"browserify-shim": {
"react": "global:React"
},
"author": "Sönke Kluth <[email protected]> (http://soenkekluth.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/soenkekluth/react-sticky-state/issues"
},
"files": [
"src",
"lib",
"dist"
],
"homepage": "https://github.com/soenkekluth/react-sticky-state#readme",
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.21.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-class-properties": "^6.19.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"babel-runtime": "^6.20.0",
"babelify": "^7.3.0",
"browser-sync": "^2.18.5",
"browserify": "^14.3.0",
"browserify-shim": "^3.8.12",
"cross-env": "^5.0.0",
"derequire": "^2.0.6",
"exorcist": "^0.4.0",
"npm-run-all": "^4.0.2",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"uglifyjs": "^2.4.10",
"watchify": "^3.8.0"
},
"dependencies": {
"classnames": "2.2.5",
"object-assign": "^4.1.1",
"prop-types": "^15.5.8",
"scrollfeatures": "^1.8.4"
}
}