|
8 | 8 | "src" |
9 | 9 | ], |
10 | 10 | "scripts": { |
11 | | - "pretest": "echo 'Make sure to be in dev mode (npm run dev)'", |
12 | | - "test": "node --import ./register.mjs ./node_modules/.bin/mocha test/test-*.js", |
| 11 | + "pretest": "npm run dev'", |
| 12 | + "test": "node --import ./register.mjs ./node_modules/.bin/mocha test/test-*.js --exit", |
13 | 13 | "pretest-ci": "npm run dev", |
14 | 14 | "test-ci": "node --import ./register.mjs ./node_modules/.bin/mocha test/test-*.js --exclude test/test-storage.js --exclude test/test-duplicates.js --exclude test/test-sync.js --exit", |
15 | 15 | "pretest-storage": "npm run dev", |
16 | 16 | "test-storage": "node --import ./register.mjs ./node_modules/.bin/mocha test/test-storage.js --exit", |
17 | | - "pretest-cov": "echo 'Make sure to be in dev mode (npm run dev)'", |
| 17 | + "pretest-cov": "npm run dev'", |
18 | 18 | "test-cov": "node --import ./register.mjs ./node_modules/.bin/nyc --reporter=text ./node_modules/.bin/mocha test/test-*.js", |
19 | 19 | "dev": "rollup -c", |
20 | 20 | "dev:watch": "rollup -c -w", |
21 | 21 | "build": "NODE_ENV=production rollup -c", |
22 | 22 | "predev:ff": "./.venv/bin/python scripts/release-mv2-mv3.py --to-firefox", |
23 | 23 | "dev:ff": "web-ext run --url 'about:debugging#/runtime/this-firefox' --firefox=deved -p dev-edition-default", |
24 | | - "postdev:ff": "python scripts/release-mv2-mv3.py --from-firefox" |
| 24 | + "postdev:ff": "python scripts/release-mv2-mv3.py --from-firefox", |
| 25 | + "prebuild:ff": "./.venv/bin/python scripts/release-mv2-mv3.py --to-firefox", |
| 26 | + "build:ff": "npm run build && web-ext build", |
| 27 | + "postbuild:ff": "python scripts/release-mv2-mv3.py --from-firefox" |
25 | 28 | }, |
26 | 29 | "repository": { |
27 | 30 | "type": "git", |
|
0 commit comments