Skip to content

Commit 24462f4

Browse files
committed
chore: break-up test
1 parent 3bf3b84 commit 24462f4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@ node_js:
33
- 7
44
- 6
55
- 5
6+
script:
7+
- npm run lint
8+
- npm run build
9+
- npm run test
610
after_success:
7-
- semantic-release pre && npm publish && semantic-release post
11+
- semantic-release pre
12+
- npm publish
13+
- semantic-release post
814
notifications:
915
email: false
1016
sudo: false

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
"scripts": {
5353
"build-helper": "mkdir -p ./dist/browser && NODE_ENV=production babel ./src/getClassName.js --out-file ./dist/browser/getClassName.js --source-maps --no-babelrc --plugins transform-es2015-modules-commonjs,transform-flow-strip-types --presets es2015",
5454
"build": "rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --source-maps --copy-files && npm run build-helper",
55-
"lint": "eslint ./src",
55+
"lint": "eslint ./src && flow",
5656
"precommit": "npm run test",
57-
"test": "NODE_ENV=development npm run lint && npm run build && NODE_ENV=test mocha --compilers js:babel-register && flow"
57+
"test": " NODE_ENV=test mocha --compilers js:babel-register"
5858
},
5959
"version": "1.0.0"
6060
}

0 commit comments

Comments
 (0)