|
1 | 1 | { |
2 | | - "name": "es2015-2-extendScript-build", |
| 2 | + "name": "extendscriptr", |
3 | 3 | "version": "1.0.0", |
4 | 4 | "description": "A node build configuration to develop extendScripts with es2015 javascript code", |
5 | 5 | "scripts": { |
6 | 6 | "clean:temp": "rm -rf ./.tmp", |
7 | 7 | "clean:dist": "rm -rf ./dist", |
8 | 8 | "clean": "npm run clean:temp & npm run clean:dist ; mkdir dist & mkdir .tmp", |
9 | | - "insert-polyfill:own": "cat ./src/lib/polyfills.js >> ./dist/output.js", |
10 | | - "insert-polyfill:babel": "cat ./src/lib/babel-polyfill.js >> ./dist/output.js", |
11 | | - "insert-polyfill:coreJs": "cat ./src/lib/coreJsShim.js >> ./dist/output.js", |
| 9 | + "insert-polyfills": "cat ./node_modules/extendscript.prototypes/dist/extendscript.prototypes.0.0.5.jsx >> ./dist/output.js", |
12 | 10 | "insert-bundle": "cat ./.tmp/script.js >> ./dist/output.js", |
13 | | - "bundle": "browserify -e -o .tmp/script.js -t [ babelify ]", |
14 | | - "compile": "npm run clean ; npm run insert-polyfill:own ; npm run insert-polyfill:coreJs ; npm run bundle ; npm run insert-bundle ; npm run clean:temp", |
| 11 | + "bundle": "browserify -e ./src/index.js -o .tmp/script.js -t [ babelify ]", |
| 12 | + "compile": "npm run clean ; npm run insert-polyfills ; npm run bundle ; npm run insert-bundle ; npm run clean:temp", |
15 | 13 | "start": "npm run compile" |
16 | 14 | }, |
17 | 15 | "repository": { |
18 | 16 | "type": "git", |
19 | | - "url": "git+https://github.com/vogelino/es2015-2-extendScript-build.git" |
| 17 | + "url": "git+https://github.com/vogelino/extendscriptr.git" |
20 | 18 | }, |
21 | 19 | "keywords": [ |
22 | 20 | "automation", |
|
34 | 32 | "author": "vogelino", |
35 | 33 | "license": "WTFPL", |
36 | 34 | "bugs": { |
37 | | - "url": "https://github.com/vogelino/es2015-2-extendScript-build/issues" |
| 35 | + "url": "https://github.com/vogelino/extendscriptr/issues" |
38 | 36 | }, |
39 | | - "homepage": "https://github.com/vogelino/es2015-2-extendScript-build#readme", |
40 | | - "devDependencies": { |
| 37 | + "homepage": "https://github.com/vogelino/extendscriptr#readme", |
| 38 | + "dependencies": { |
41 | 39 | "babel": "^6.5.2", |
42 | 40 | "babel-plugin-transform-es3-member-expression-literals": "^6.5.0", |
43 | 41 | "babel-plugin-transform-es3-property-literals": "^6.5.0", |
44 | 42 | "babel-plugin-transform-es5-property-mutators": "^6.6.5", |
45 | | - "babel-polyfill": "^6.7.4", |
46 | 43 | "babel-preset-es2015": "^6.6.0", |
47 | | - "babel-preset-stage-0": "^6.5.0", |
48 | 44 | "babelify": "^7.3.0", |
49 | | - "browserify": "^13.0.0" |
| 45 | + "browserify": "^13.0.0", |
| 46 | + "extendscript.prototypes": "0.0.5" |
50 | 47 | } |
51 | 48 | } |
0 commit comments