Skip to content

Commit 3a7081c

Browse files
committed
update build script
1 parent 1bab6e6 commit 3a7081c

File tree

3 files changed

+698
-327
lines changed

3 files changed

+698
-327
lines changed

gulpfile.js

-79
This file was deleted.

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"lint": "ng lint",
3838
"e2e": "ng e2e",
3939
"ngcompile": "npm run build",
40-
"build:esm": "gulp inline-templates && npm run ngcompile",
4140
"build:esm:watch": "npm build:watch",
4241
"build:umd": "npm run build",
4342
"build:umd:watch": "npm build:watch",
@@ -47,7 +46,8 @@
4746
"codecov": "cat coverage/lcov.info | codecov",
4847
"docs": "compodoc -p tsconfig.json -d docs --disableCoverage",
4948
"explorer": "source-map-explorer ./dist/angular2-query-builder/bundles/angular2-query-builder.umd.js",
50-
"gh-pages": "rimraf docs && npm run docs && gulp copy:demo && gh-pages -d docs",
49+
"copyDemo": "copyfiles -u 2 demo/dist/**/* docs",
50+
"gh-pages": "rimraf docs && npm run docs && npm run copyDemo && gh-pages -d docs",
5151
"postversion": "git push && git push --tags",
5252
"prebuild": "rimraf dist tmp",
5353
"prebuild:watch": "rimraf dist tmp",
@@ -79,8 +79,6 @@
7979
"compodoc": "^0.0.41",
8080
"core-js": "^2.6.5",
8181
"gh-pages": "^2.2.0",
82-
"gulp": "4",
83-
"gulp-inline-ng2-template": "^5.0.1",
8482
"jasmine-core": "^3.4.0",
8583
"jasmine-spec-reporter": "^4.2.1",
8684
"karma": "^4.1.0",
@@ -98,5 +96,8 @@
9896
"tslint": "^5.15.0",
9997
"typescript": "3.4.5",
10098
"zone.js": "^0.9.1"
99+
},
100+
"dependencies": {
101+
"copyfiles": "^2.2.0"
101102
}
102103
}

0 commit comments

Comments
 (0)