Skip to content

Commit 26bb431

Browse files
krzysztof-grzybekmgechev
authored andcommitted
update build and test scripts (mgechev#143)
1 parent 4426786 commit 26bb431

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
language: node_js
22
node_js:
33
- "8"
4-
before_script:
5-
- npm install -g gulp
6-
script: gulp build
4+
script: npm run build

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"live-server": "^1.2.0"
1717
},
1818
"scripts": {
19+
"build": "gulp build",
1920
"test": "gulp test",
2021
"deploy": "npm run doc:build && gh-pages -d dist -b gh-pages",
2122
"doc": "npm run doc:build && npm run doc:view",

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Just run `npm run doc` again.
3434
Call:
3535

3636
```bash
37-
gulp test
37+
npm run test
3838
```
3939

4040
and all `*.spec.js` files will be executed.
@@ -57,7 +57,7 @@ Make sure you're editor makes validations according to the `.jshintrc` in the ro
5757
Before pushing to the repository run:
5858

5959
```bash
60-
gulp build
60+
npm run build
6161
```
6262

6363
If the build is not successful fix your code in order the tests and jshint validation to run successfully and after that

0 commit comments

Comments
 (0)