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

Commit

Permalink
Use cross-env for cross-platform scripts, fixes rrweb-io#12.
Browse files Browse the repository at this point in the history
  • Loading branch information
DvdGiessen committed Dec 29, 2018
1 parent e2b68e3 commit 31ba809
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "0.7.2",
"description": "record and replay the web",
"scripts": {
"test": "npm run bundle:browser && TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.test.ts",
"repl": "npm run bundle:browser && TS_NODE_CACHE=false TS_NODE_FILES=true ts-node scripts/repl.ts",
"bundle:browser": "BROWSER_ONLY=true rollup --config",
"test": "npm run bundle:browser && cross-env TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.test.ts",
"repl": "npm run bundle:browser && cross-env TS_NODE_CACHE=false TS_NODE_FILES=true ts-node scripts/repl.ts",
"bundle:browser": "cross-env BROWSER_ONLY=true rollup --config",
"bundle": "rollup --config"
},
"repository": {
Expand Down Expand Up @@ -38,6 +38,7 @@
"@types/node": "^10.11.7",
"@types/puppeteer": "^1.9.0",
"chai": "^4.2.0",
"cross-env": "^5.2.0",
"jest-snapshot": "^23.6.0",
"mocha": "^5.2.0",
"puppeteer": "^1.9.0",
Expand All @@ -55,7 +56,7 @@
"dependencies": {
"@types/smoothscroll-polyfill": "^0.3.0",
"mitt": "^1.1.3",
"rrweb-snapshot": "^0.7.0",
"rrweb-snapshot": "^0.7.1",
"smoothscroll-polyfill": "^0.4.3"
}
}

0 comments on commit 31ba809

Please sign in to comment.