Skip to content

Commit fd042eb

Browse files
author
hirsch88
committed
remove gulp
1 parent e90a896 commit fd042eb

File tree

5 files changed

+47
-565
lines changed

5 files changed

+47
-565
lines changed

build/paths.js

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

build/tasks/clean-dist.js

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

build/tasks/copy-assets.js

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

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
"lint": "./node_modules/.bin/tslint -c ./tslint.json -p tsconfig.json 'src/**/*.ts' --format stylish",
1313
"build": "npm run lint && npm run clean:dist && npm run transpile && npm run copy:assets",
1414
"transpile": "./node_modules/.bin/tsc",
15-
"clean:dist": "./node_modules/.bin/gulp clean:dist",
16-
"copy:assets": "./node_modules/.bin/gulp copy:assets",
15+
"clean:dist": "./node_modules/.bin/rimraf ./dist",
16+
"copy:assets": "npm run copy:swagger && npm run copy:public",
17+
"copy:swagger": "./node_modules/.bin/copyup ./src/api/swagger.json ./dist",
18+
"copy:public": "./node_modules/.bin/copyup ./src/public/* ./dist",
1719
"db:migrate": "./node_modules/.bin/knex migrate:latest",
1820
"db:migrate:rollback": "./node_modules/.bin/knex migrate:rollback",
1921
"db:seed": "./node_modules/.bin/knex seed:run",
@@ -76,15 +78,13 @@
7678
"class-validator": "^0.7.0",
7779
"commander": "^2.9.0",
7880
"compression": "^1.6.2",
81+
"copyfiles": "^1.2.0",
7982
"cors": "^2.8.1",
8083
"debug": "^2.6.8",
8184
"dotenv": "^4.0.0",
8285
"express": "^4.15.3",
8386
"express-status-monitor": "^0.1.9",
8487
"faker": "^4.1.0",
85-
"gulp": "^3.9.1",
86-
"gulp-clean": "^0.3.2",
87-
"gulp-load-plugins": "^1.4.0",
8888
"helmet": "^3.6.1",
8989
"inversify": "^4.1.0",
9090
"inversify-express-utils": "^3.5.1",
@@ -100,6 +100,7 @@
100100
"request": "^2.81.0",
101101
"request-promise": "^4.2.1",
102102
"require-dir": "^0.3.1",
103+
"rimraf": "^2.6.1",
103104
"run-sequence": "^1.2.2",
104105
"serve-favicon": "^2.4.3",
105106
"swagger-jsdoc": "^1.9.4",

0 commit comments

Comments
 (0)