Cross-platform npm scripts using cross-env (#2)
This commit is contained in:
committed by
yz-yu
parent
15c66d1fe7
commit
53a0887e9e
@@ -3,7 +3,7 @@
|
||||
"version": "0.7.0",
|
||||
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
|
||||
"scripts": {
|
||||
"test": "TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.ts",
|
||||
"test": "cross-env TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.ts",
|
||||
"bundle": "rollup --config"
|
||||
},
|
||||
"repository": {
|
||||
@@ -38,6 +38,7 @@
|
||||
"@types/node": "^10.11.3",
|
||||
"@types/puppeteer": "^1.8.0",
|
||||
"chai": "^4.1.2",
|
||||
"cross-env": "^5.2.0",
|
||||
"jest-snapshot": "^23.6.0",
|
||||
"mocha": "^5.2.0",
|
||||
"puppeteer": "^1.10.0",
|
||||
|
||||
Reference in New Issue
Block a user