|
1 | 1 | {
|
2 | 2 | "name": "react-spark-scroll",
|
3 |
| - "version": "0.0.1", |
| 3 | + "version": "1.0.0", |
4 | 4 | "description": "Scroll-based animation and actions for React",
|
5 | 5 | "main": "src",
|
6 | 6 | "repository": {
|
|
11 | 11 | "bugs": "https://github.com/gilbox/react-spark-scroll/issues",
|
12 | 12 | "scripts": {
|
13 | 13 | "build-global": "rm -rf build/global && NODE_ENV=production webpack src/index.js build/global/spark-scroll.js && NODE_ENV=production COMPRESS=1 webpack src/index.js build/global/spark-scroll.min.js && echo \"gzipped, the global build is `gzip -c build/global/spark-scroll.min.js | wc -c` bytes\"",
|
14 |
| - "build-npm": "rm -rf build/npm && babel -d build/npm/lib ./src && cp README.md build/npm && find -X build/npm/lib -type d -name __tests__ | xargs rm -rf && node -p 'p=require(\"./package\");p.main=\"lib\";p.scripts=p.devDependencies=undefined;JSON.stringify(p,null,2)' > build/npm/package.json", |
| 14 | + "build-npm": "rm -rf build/npm && babel -d build/npm/lib ./src && cp README.md build/npm && find -X build/npm/lib -type d -name __tests__ | xargs rm -rf && node -p 'p=require(\"./package-npm\");JSON.stringify(p,null,2)' > build/npm/package.json", |
| 15 | + "build-npm-rekapi": "rm -rf build/npm-rekapi && babel -d build/npm-rekapi/lib ./src && rm build/npm-rekapi/lib/index.js build/npm-rekapi/lib/gsap-animator.js build/npm-rekapi/lib/spark.js build/npm-rekapi/lib/spark-scroll-gsap.js && mv build/npm-rekapi/lib/spark-scroll-rekapi.js build/npm-rekapi/lib/index.js && cp README.md build/npm-rekapi && find -X build/npm-rekapi/lib -type d -name __tests__ | xargs rm -rf && node -p 'p=require(\"./package-npm-rekapi\");JSON.stringify(p,null,2)' > build/npm-rekapi/package.json", |
| 16 | + "build-npm-gsap": "rm -rf build/npm-gsap && babel -d build/npm-gsap/lib ./src && rm build/npm-gsap/lib/index.js build/npm-gsap/lib/spark.js build/npm-gsap/lib/spark-scroll-rekapi.js && mv build/npm-gsap/lib/spark-scroll-gsap.js build/npm-gsap/lib/index.js && cp README.md build/npm-gsap && find -X build/npm-gsap/lib -type d -name __tests__ | xargs rm -rf && node -p 'p=require(\"./package-npm-gsap\");JSON.stringify(p,null,2)' > build/npm-gsap/package.json", |
| 17 | + "build-npm-all": "npm run build-npm && npm run build-npm-rekapi && npm run build-npm-gsap", |
15 | 18 | "examples": "rm -rf examples/js && webpack-dev-server --config examples/webpack.config.js --content-base examples",
|
16 | 19 | "examples-build": "rm -rf examples/js && webpack --config examples/webpack.build.config.js",
|
17 |
| - "test": "jsxhint . && karma start" |
| 20 | + "test": "jsxhint . && karma start", |
| 21 | + "publish": "npm publish ./build/npm && npm publish ./build/npm-gsap && npm publish ./build/npm-rekapi", |
| 22 | + "prepush": "npm run examples-build" |
18 | 23 | },
|
19 | 24 | "authors": [
|
20 | 25 | "Gil Birman"
|
|
40 | 45 | "rf-changelog": "^0.4.0",
|
41 | 46 | "rx": "2.3.18",
|
42 | 47 | "webpack": "^1.4.13",
|
43 |
| - "webpack-dev-server": "^1.6.6" |
| 48 | + "webpack-dev-server": "^1.6.6", |
| 49 | + "gsap": "^1.16.1", |
| 50 | + "rekapi": "^1.4.4" |
44 | 51 | },
|
45 | 52 | "peerDependencies": {
|
46 | 53 | "react": "0.13.x"
|
47 | 54 | },
|
48 | 55 | "dependencies": {
|
49 | 56 | "animation-frame": "^0.2.4",
|
50 | 57 | "events": "^1.0.2",
|
51 |
| - "gsap": "^1.16.1", |
52 | 58 | "lodash": "^3.6.0",
|
53 |
| - "object-assign": "^2.0.0", |
54 |
| - "rekapi": "^1.4.4" |
| 59 | + "object-assign": "^2.0.0" |
55 | 60 | },
|
56 | 61 | "tags": [
|
57 | 62 | "react",
|
|
0 commit comments