Skip to content

Commit c895e1b

Browse files
committed
chore: add build to the test script
1 parent bd33956 commit c895e1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
},
4747
"scripts": {
4848
"lint": "eslint ./src ./tests",
49-
"test": "mocha --compilers js:babel-register ./tests/**/*.js",
50-
"build": "babel ./src --out-dir ./dist",
51-
"precommit": "npm run lint && npm run test"
49+
"test": "NODE_ENV=development mocha --compilers js:babel-register ./tests/**/*.js && npm run lint && npm run build",
50+
"build": "NODE_ENV=production babel ./src --out-dir ./dist",
51+
"precommit": "npm run test"
5252
}
5353
}

0 commit comments

Comments
 (0)