Skip to content

Commit 99ee574

Browse files
author
Lucas Vogel
committed
Fixes #17 Removed gulp an created scripts in package.json instead
1 parent c5e5552 commit 99ee574

4 files changed

Lines changed: 6472 additions & 70 deletions

File tree

gulpfile.js/index.js

Lines changed: 0 additions & 41 deletions
This file was deleted.

gulpfile.js/util/filesUtil.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

package.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@
33
"version": "1.0.0",
44
"description": "A node build configuration to develop extendScripts with es2015 javascript code",
55
"scripts": {
6-
"compile": ""
6+
"clean:temp": "rm -rf ./.tmp",
7+
"clean:dist": "rm -rf ./dist",
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-bundle": "cat ./.tmp/script.js >> ./dist/output.js",
12+
"bundle": "browserify -e -o .tmp/script.js -t [ babelify ]",
13+
"compile": "npm run clean ; npm run insert-polyfill:own ; npm run insert-polyfill:babel ; npm run bundle ; npm run insert-bundle ; npm run clean:temp",
14+
"start": "npm run compile"
715
},
816
"repository": {
917
"type": "git",
@@ -37,10 +45,6 @@
3745
"babel-preset-es2015": "^6.6.0",
3846
"babel-preset-stage-0": "^6.5.0",
3947
"babelify": "^7.3.0",
40-
"browserify": "^13.0.0",
41-
"gulp": "^3.9.1",
42-
"gulp-util": "^3.0.7",
43-
"recursive-readdir": "^2.0.0",
44-
"vinyl-source-stream": "^1.1.0"
48+
"browserify": "^13.0.0"
4549
}
4650
}

0 commit comments

Comments
 (0)