Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 9e1b315

Browse files
bertdayznck
authored andcommitted
chore: Use cross-env in npm scripts; closes #167 (#168)
Also updates yarn.lock to reflect dependency versions in package.json
1 parent 0c207dc commit 9e1b315

File tree

2 files changed

+165
-153
lines changed

2 files changed

+165
-153
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"test": "npm run lint && npm run build && npm run unit",
99
"build": "node config/build.js",
1010
"dev": "npm run unit -- -w",
11-
"unit": "NODE_ENV=production mocha test/test.js --slow=5000 --timeout=10000",
11+
"unit": "cross-env NODE_ENV=production mocha test/test.js --slow=5000 --timeout=10000",
1212
"lint": "eslint src/**",
1313
"lint:fix": "eslint --fix src/**",
14-
"coveralls": "NODE_ENV=production istanbul cover --default-excludes -x 'dist/**' -x 'config/**' ./node_modules/mocha/bin/_mocha --report lcovonly -- --slow=5000 --timeout=10000 test/test.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
14+
"coveralls": "cross-env NODE_ENV=production istanbul cover --default-excludes -x 'dist/**' -x 'config/**' ./node_modules/mocha/bin/_mocha --report lcovonly -- --slow=5000 --timeout=10000 test/test.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
1515
"prepare": "npm run build",
1616
"docs": "php -S localhost:8080 -t .github/sereno/public"
1717
},
@@ -62,6 +62,7 @@
6262
"babel-preset-stage-2": "^6.22.0",
6363
"clean-css": "^3.4.24",
6464
"coveralls": "^2.11.15",
65+
"cross-env": "^5.1.3",
6566
"eslint": "^3.14.0",
6667
"eslint-config-standard": "^6.2.1",
6768
"eslint-plugin-html": "^1.7.0",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy