File tree 2 files changed +43
-26
lines changed
2 files changed +43
-26
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " turbasen" ,
3
- "version" : " 1.1.1 " ,
3
+ "version" : null ,
4
4
"description" : " Node.JS-client for Nasjonal Turbase" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"lint" : " eslint index.js test.js" ,
8
- "test" : " mocha -R tap test.js" ,
9
- "watch" : " mocha -w -R progress test.js"
8
+ "test" : " mocha -c --check-leaks -R tap test.js" ,
9
+ "watch" : " mocha -w -b -c --check-leaks -R progress test.js" ,
10
+ "semantic-release" : " semantic-release"
10
11
},
11
12
"repository" : {
12
13
"type" : " git" ,
29
30
"devDependencies" : {
30
31
"eslint" : " ^1.10.3" ,
31
32
"eslint-config-airbnb" : " ^3.1.0" ,
32
- "mocha" : " ^2.3.4"
33
+ "mocha" : " ^2.3.4" ,
34
+ "semantic-release" : " ^4.3.5"
33
35
},
34
36
"dependencies" : {
35
37
"each-async" : " ^1.1.1" ,
Original file line number Diff line number Diff line change 1
1
box : node:argon
2
- build :
3
- steps :
4
- - script :
5
- name : echo nodejs information
6
- code : |
7
- echo "node version $(node -v) running"
8
- echo "npm version $(npm -v) running"
9
2
10
- - script :
11
- name : echo imagemagick information
12
- code : |
13
- convert --version
3
+ build :
4
+ steps :
5
+ - script :
6
+ name : echo nodejs information
7
+ code : |
8
+ echo "node version $(node -v) running"
9
+ echo "npm version $(npm -v) running"
14
10
15
- - npm-install
11
+ - npm-install
16
12
17
- - script :
18
- name : lint
19
- code : |
20
- npm run lint
13
+ - script :
14
+ name : lint
15
+ code : npm run lint
21
16
22
- - npm-test
17
+ - npm-test
23
18
24
- after-steps :
25
- - turistforeningen/slack-notifier :
26
- url : $SLACK_WEBHOOK_URL
19
+ after-steps :
20
+ - turistforeningen/slack-notifier :
21
+ url : $SLACK_WEBHOOK_URL
27
22
28
23
deploy :
29
- steps :
30
- - turistforeningen/npm-publish
24
+ steps :
25
+ # Reinstall node_modules to fix broken symlinks
26
+ # https://github.com/wercker/docs/issues/310
27
+ - script :
28
+ name : rm node_modules
29
+ code : rm -rf node_modules
30
+
31
+ - npm-install
32
+
33
+ - script :
34
+ name : semantic release pre
35
+ code : npm run semantic-release -- pre
36
+
37
+ - turistforeningen/npm-publish
38
+
39
+ - script :
40
+ name : semantic release post
41
+ code : npm run semantic-release -- post
42
+
43
+ after-steps :
44
+ - turistforeningen/slack-notifier :
45
+ url : $SLACK_WEBHOOK_URL
You can’t perform that action at this time.
0 commit comments