- "build": "npm install",
- "test": "standard && nyc mocha --exit --timeout 20000 tests/*test.js ",
- "debug-test": "mocha --inspect-brk --exit tests/*test.js ",
- "demontest": "nodemon --exec \"npm test\"",
- "coverage": "nyc report --reporter=text-lcov | coveralls",
- "standard-verbose": "npx standard --verbose",
- "lint": "prettier-standard --format | standard --fix"
+ "build": "rollup --config --environment BUILD:development",
+ "build:prod": "rollup --config",
+ "benchmark": "npm run build && node -r source-map-support/register benchmarks/internal/bench.js",
+ "benchmark:debug": "npm run build && node -r source-map-support/register --inspect benchmarks/internal/bench.js",
+ "benchmark:prod": "npm run build:prod && node -r source-map-support/register benchmarks/internal/bench.js",
+ "test": "npm run build && nyc mocha --parallel 'tests/**/*.test.js'",
+ "test:debug": "npm run build && mocha --inspect 'tests/**/*.test.js'",
+ "test:prod": "npm run build:prod && nyc mocha --parallel 'tests/**/*.test.js'",
+ "sonar": "sonar-scanner",
+ "coverage": "nyc report --reporter=lcov",
+ "coverage:html": "nyc report --reporter=html",
+ "format": "prettier --loglevel silent --write .; prettierx --write .",
+ "lint": "eslint .",
+ "lint:fix": "eslint . --fix",
+ "typedoc": "typedoc",
+ "prepublishOnly": "npm run build:prod"