Skip to content

Commit f822e3d

Browse files
Merge pull request #28 from arcticicestudio/task/gh-27-replace-gulp-js-with-npm-scripts
Replace gulp.js with npm scripts
2 parents 4b0771b + 8d905f3 commit f822e3d

File tree

5 files changed

+6
-52
lines changed

5 files changed

+6
-52
lines changed

.circleci/config.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,9 @@ jobs:
1515
- image: circleci/node:8.7
1616
steps:
1717
- checkout
18-
- run:
19-
name: install-global-gulp-cli
20-
command: sudo npm install -g gulp-cli
2118
- run:
2219
name: npm-install
2320
command: npm install
2421
- run:
2522
name: lint
26-
command: gulp --harmony lint
23+
command: npm run lint

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,5 @@ os:
1919
before_install:
2020
- rm -rf ./node_modules
2121
before_script:
22-
- npm install -g gulp-cli
23-
- npm install gulp
2422
- npm install
25-
script: gulp --harmony lint
23+
script: npm run lint

docs/development/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Nord Hyper uses [ESLint][eslint] to analyse the source code. To show the current lint status run
66

77
```sh
8-
gulp lint
8+
npm run lint
99
```
1010

1111
[installation]: ../getting-started/installation.md

gulpfile.js

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

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,12 @@
3131
"scripts": {
3232
"docs:build": "npm run docs:clean && gitbook install ./docs && gitbook build ./docs ./build/docs",
3333
"docs:clean": "node_modules/.bin/del ./build/docs",
34-
"docs:dev": "npm run docs:build && gitbook serve ./docs ./build/docs"
34+
"docs:dev": "npm run docs:build && gitbook serve ./docs ./build/docs",
35+
"lint": "eslint --color index.js"
3536
},
3637
"devDependencies": {
3738
"del-cli": "1.1.0",
3839
"eslint": "4.15.0",
39-
"gitbook-cli": "2.3.2",
40-
"gulp": "3.9.1",
41-
"gulp-eslint": "4.0.1",
42-
"gulp-help": "1.6.1"
40+
"gitbook-cli": "2.3.2"
4341
}
4442
}

0 commit comments

Comments
 (0)