No longer commit builds, instead build on postinstall
This commit is contained in:
parent
1da427f168
commit
91c282b915
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
.idea/
|
||||
.DS_Store
|
||||
node_modules/
|
||||
dist/
|
||||
examples/*/dist/
|
||||
|
@ -124,7 +124,7 @@ examples.forEach((example) => {
|
||||
gulp.task("examples", examples.map((example) => { return `${example}-example`; }));
|
||||
|
||||
|
||||
gulp.task("build", (callback) => {
|
||||
gulp.task("engine", (callback) => {
|
||||
build({
|
||||
entry: {
|
||||
"es5": path.join(__dirname, "src", "es5.js")
|
||||
@ -134,3 +134,7 @@ gulp.task("build", (callback) => {
|
||||
minify: minify
|
||||
}, callback);
|
||||
});
|
||||
|
||||
|
||||
gulp.task("build", ["engine", "examples"]);
|
||||
gulp.task("default", ["build"]);
|
@ -4,6 +4,8 @@
|
||||
"description": "An ES6 game and animation engine.",
|
||||
"main": "src/es6.js",
|
||||
"scripts": {
|
||||
"postinstall": "gulp build",
|
||||
"build": "gulp build",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "Nathan Kunicki <me@nathankunicki.com>",
|
||||
|
Loading…
x
Reference in New Issue
Block a user