We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4352fd6 commit 0202ee9Copy full SHA for 0202ee9
package.json
@@ -14,7 +14,7 @@
14
"prepublishOnly": "npm run build",
15
"pretest": "npm run lint:fix && npm run flow",
16
"test": "npm run tests-only",
17
- "build:tests": "npm run build && rimraf __tests-built__ && babel __tests__ --out-dir __tests-built__",
+ "build:tests": "npm run build && rimraf __tests-built__ && BABEL_ENV=test babel __tests__ --out-dir __tests-built__",
18
"tests-built": "nyc tape '__tests-built__/**/*.js'",
19
"tests-only": "nyc tape -r @babel/register '__tests__/**/*.js'",
20
"prepack": "npm run build"
0 commit comments