Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 1d76e05

Browse files
committed
Fix posibility of deploying wrong stuff
1 parent 0295210 commit 1d76e05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "react-native-mock",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "A fully mocked and test-friendly version of react native",
55
"main": "build/react-native.js",
66
"scripts": {
77
"prepublish": "npm run build",
88
"test": "npm run lint && npm run mocha",
99
"mocha": "mocha --require babel-core/register 'test/**/*.js'",
1010
"mocha:watch": "npm run test -- --watch",
11-
"build": "babel src --out-dir build",
11+
"build": "rm -rf build/ && babel src --out-dir build",
1212
"lint": "eslint 'src/' 'test/' 'mock.js'"
1313
},
1414
"repository": {

0 commit comments

Comments
 (0)