|
@ -23,7 +23,7 @@ |
|
|
"coverage-html": "npm run build && npm run nobuild:coverage-html", |
|
|
"coverage-html": "npm run build && npm run nobuild:coverage-html", |
|
|
"coverage": "npm run build && npm run nobuild:coverage", |
|
|
"coverage": "npm run build && npm run nobuild:coverage", |
|
|
"format": "npm run prettier -- --write", |
|
|
"format": "npm run prettier -- --write", |
|
|
"formatjs": "npm run prettierjs -- --write > /dev/null 2>&1", |
|
|
"formatjs": "npm run prettierjs -- --write", |
|
|
"format:ci": "npm run prettier -- --check && npm run prettierjs -- --check", |
|
|
"format:ci": "npm run prettier -- --check && npm run prettierjs -- --check", |
|
|
"gitdiff:ci": "npm run build && git diff --exit-code", |
|
|
"gitdiff:ci": "npm run build && git diff --exit-code", |
|
|
"integration": "npm run build && npm run nobuild:integration", |
|
|
"integration": "npm run build && npm run nobuild:integration", |
|
@ -35,8 +35,8 @@ |
|
|
"nobuild:coverage": "npm run build:tests && nyc --check-coverage --branches 90 --functions 90 --lines 90 mocha && npm run clean:jstests", |
|
|
"nobuild:coverage": "npm run build:tests && nyc --check-coverage --branches 90 --functions 90 --lines 90 mocha && npm run clean:jstests", |
|
|
"nobuild:integration": "npm run mocha:ts -- --timeout 50000 'test/integration/*.ts'", |
|
|
"nobuild:integration": "npm run mocha:ts -- --timeout 50000 'test/integration/*.ts'", |
|
|
"nobuild:unit": "npm run mocha:ts -- 'test/*.ts'", |
|
|
"nobuild:unit": "npm run mocha:ts -- 'test/*.ts'", |
|
|
"prettier": "prettier 'ts_src/**/*.ts' 'test/**/*.ts' --ignore-path ./.prettierignore", |
|
|
"prettier": "prettier \"ts_src/**/*.ts\" \"test/**/*.ts\" --ignore-path ./.prettierignore", |
|
|
"prettierjs": "prettier 'src/**/*.js' --ignore-path ./.prettierignore", |
|
|
"prettierjs": "prettier \"src/**/*.js\" --ignore-path ./.prettierignore", |
|
|
"test": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage", |
|
|
"test": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage", |
|
|
"unit": "npm run build && npm run nobuild:unit" |
|
|
"unit": "npm run build && npm run nobuild:unit" |
|
|
}, |
|
|
}, |
|
|