move agadoo to npm test script

pull/1757/head
Rich Harris 6 years ago
parent 956f318bea
commit 016d4b5dc5

@ -17,7 +17,7 @@
"README.md" "README.md"
], ],
"scripts": { "scripts": {
"test": "mocha --opts mocha.opts", "test": "mocha --opts mocha.opts && agadoo shared.js",
"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,7 +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",
"prepublishOnly": "npm run lint && npm test && agadoo shared.js", "prepublishOnly": "npm run lint && npm test",
"prettier": "prettier --write \"src/**/*.ts\"" "prettier": "prettier --write \"src/**/*.ts\""
}, },
"repository": { "repository": {

Loading…
Cancel
Save