- "build": "npm run build:clean && tsc",
- "build:clean": "rimraf lib",
- "test": "npm run build && nyc mocha --exit --timeout 20000 tests/*test.js ",
- "test:debug": "mocha --inspect-brk --exit tests/*test.js ",
- "test:nodemon": "nodemon --exec \"npm test\"",
- "coverage": "nyc report --reporter=text-lcov | coveralls",
- "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
- "standard:verbose": "npx standard --verbose",
- "lint:standard": "prettier-standard --format | standard --fix",
- "ts-standard:verbose": "npx ts-standard --verbose",
- "lint:ts-standard": "ts-standard --fix",
- "lint-and-format": "npm run lint:standard && npm run lint:ts-standard && npm run import-sort"
+ "build": "rollup --config --environment BUILD:development",
+ "build:typedoc": "rollup --config --environment BUILD:development --environment DOCUMENTATION",
+ "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"