Skip to content

Commit 5eee030

Browse files
committed
Added semantic-release
1 parent 7651d77 commit 5eee030

File tree

2 files changed

+34
-5
lines changed

2 files changed

+34
-5
lines changed

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
sudo: false
2+
language: node_js
3+
cache:
4+
directories:
5+
- node_modules
6+
notifications:
7+
email: false
8+
node_js:
9+
- '4'
10+
- iojs-v3
11+
- iojs-v2
12+
- iojs-v1
13+
- '0.12'
14+
- '0.10'
15+
before_install:
16+
- npm i -g npm@^2.0.0
17+
before_script:
18+
- npm prune
19+
after_success:
20+
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
21+
- python travis_after_all.py
22+
- export $(cat .to_export_back) &> /dev/null
23+
- npm run semantic-release
24+
branches:
25+
except:
26+
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"extendscriptr": "./index.js"
44
},
55
"name": "extendscriptr",
6-
"version": "1.0.3",
76
"description": "A node build configuration to develop extendScripts with es2015 javascript code",
87
"scripts": {
98
"clean:temp": "rm -rf ./.tmp ; mkdir ./.tmp",
@@ -13,11 +12,12 @@
1312
"compile:test:aftereffects": "node ./index.js -s test/src/aftereffects.js -o test/dist/aftereffects.js -t 'aftereffects'",
1413
"compile:test:photoshop": "node ./index.js -s test/src/photoshop.js -o test/dist/photoshop.js -t 'photoshop'",
1514
"compile:test:all": "npm run compile:test:illustrator & npm run compile:test:indesign & npm run compile:test:aftereffects & npm run compile:test:photoshop",
16-
"test": "npm run clean:dist ; npm run compile:test:all ; npm run clean:temp"
15+
"test": "npm run clean:dist ; npm run compile:test:all ; npm run clean:temp",
16+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
1717
},
1818
"repository": {
1919
"type": "git",
20-
"url": "git+https://github.com/vogelino/extendscriptr.git"
20+
"url": "https://github.com/ExtendScript/extendscriptr.git"
2121
},
2222
"keywords": [
2323
"automation",
@@ -35,9 +35,9 @@
3535
"author": "vogelino",
3636
"license": "WTFPL",
3737
"bugs": {
38-
"url": "https://github.com/vogelino/extendscriptr/issues"
38+
"url": "https://github.com/ExtendScript/extendscriptr/issues"
3939
},
40-
"homepage": "https://github.com/vogelino/extendscriptr#readme",
40+
"homepage": "https://github.com/ExtendScript/extendscriptr#readme",
4141
"dependencies": {
4242
"babel": "^6.5.2",
4343
"babel-plugin-transform-es3-member-expression-literals": "^6.5.0",
@@ -49,5 +49,8 @@
4949
"commander": "^2.9.0",
5050
"extendscript.prototypes": "0.0.8",
5151
"prependify": "^1.2.0"
52+
},
53+
"devDependencies": {
54+
"semantic-release": "^4.3.5"
5255
}
5356
}

0 commit comments

Comments
 (0)