Skip to content

Commit 2877cc9

Browse files
committed
fix(travis): test
1 parent 5498c2a commit 2877cc9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules
22
**.tern-port
33
npm-debug.log
44
dist/
5+
distribution/

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ node_js:
99
before_script:
1010
- npm prune
1111
after_success:
12-
- npm build
1312
- npm run semantic-release
1413
branches:
1514
except:

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@
22
"name": "sharedb-ace",
33
"version": "1.0.1",
44
"description": "ShareDB keybindings for Ace Editor",
5-
"main": "./dist/sharedb-ace.min.js",
5+
"main": "./distribution/sharedb-ace.js",
66
"repository": "https://github.com/jethrokuan/sharedb-ace",
77
"author": "Jethro Kuan",
88
"files": [
99
"dist"
1010
],
1111
"license": "MIT",
1212
"scripts": {
13-
"build": "webpack",
13+
"build": "babel source --presets babel-preset-latest --out-dir distribution",
14+
"build:dist": "webpack",
1415
"watch": "yarn run build",
1516
"test": "echo 'doing nothing'",
1617
"lint": "eslint source",
1718
"docs": "jsdoc source/*.js -d ./docs/",
19+
"prepublish": "npm run build",
1820
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
1921
},
2022
"precommit": {

0 commit comments

Comments
 (0)