Browse Source

Restore cross-OS build compatibility (#628)

master
Federico Brigante 7 years ago
committed by Sindre Sorhus
parent
commit
cca14cdeec
  1. 7
      package.json

7
package.json

@ -1,13 +1,13 @@
{ {
"scripts": { "scripts": {
"test": "xo && BABEL_ENV=testing ava && run-s build minify", "test": "xo && cross-env BABEL_ENV=testing ava && run-s build minify",
"build": "webpack", "build": "webpack",
"watch": "webpack --watch", "watch": "webpack --watch",
"watch:sourcemap": "webpack --watch --devtool eval-cheap-module-source-map", "watch:sourcemap": "webpack --watch --devtool eval-cheap-module-source-map",
"minify": "BABEL_ENV=production babel --out-dir . extension/content.js", "minify": "cross-env BABEL_ENV=production babel --out-dir . extension/content.js",
"release:amo": "cd extension && webext submit", "release:amo": "cd extension && webext submit",
"release:cws": "cd extension && webstore upload --auto-publish", "release:cws": "cd extension && webstore upload --auto-publish",
"release": "BABEL_ENV=production run-s build minify update-version release:*", "release": "run-s build minify update-version release:*",
"update-version": "dot-json extension/manifest.json version $(date -u +%y.%-m.%-d.%-H%M)" "update-version": "dot-json extension/manifest.json version $(date -u +%y.%-m.%-d.%-H%M)"
}, },
"dependencies": { "dependencies": {
@ -36,6 +36,7 @@
"babel-preset-babili": "^0.1.4", "babel-preset-babili": "^0.1.4",
"chrome-webstore-upload-cli": "^1.0.0", "chrome-webstore-upload-cli": "^1.0.0",
"common-tags": "^1.4.0", "common-tags": "^1.4.0",
"cross-env": "^5.0.1",
"dot-json": "^1.0.3", "dot-json": "^1.0.3",
"npm-run-all": "^4.0.2", "npm-run-all": "^4.0.2",
"webext": "^1.9.1-with-submit.1", "webext": "^1.9.1-with-submit.1",

Loading…
Cancel
Save