add agadoo to posttest so args can be passed to yarn test

pull/1773/head
Rich Harris 6 years ago
parent 2485604d2f
commit cdddaa7c00

@ -17,7 +17,7 @@
"README.md" "README.md"
], ],
"scripts": { "scripts": {
"test": "mocha --opts mocha.opts && agadoo shared.js", "test": "mocha --opts mocha.opts",
"quicktest": "mocha --opts mocha.opts", "quicktest": "mocha --opts mocha.opts",
"precoverage": "export COVERAGE=true && nyc mocha --opts mocha.coverage.opts", "precoverage": "export COVERAGE=true && nyc mocha --opts mocha.coverage.opts",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov", "coverage": "nyc report --reporter=text-lcov > coverage.lcov",
@ -28,6 +28,7 @@
"prepare": "npm run build", "prepare": "npm run build",
"dev": "node src/shared/_build.js && rollup -c -w", "dev": "node src/shared/_build.js && rollup -c -w",
"pretest": "npm run build", "pretest": "npm run build",
"posttest": "agadoo shared.js",
"prepublishOnly": "npm run lint && npm test", "prepublishOnly": "npm run lint && npm test",
"prettier": "prettier --write \"src/**/*.ts\"" "prettier": "prettier --write \"src/**/*.ts\""
}, },

Loading…
Cancel
Save