|
20 | 20 | "dev": "rollup -c -w",
|
21 | 21 | "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
22 | 22 | "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
23 |
| - "prettier": "prettier --write '*.js' '@(lite|src|test)/**/*.ts' 'test/unit/remote/bloom_filter_golden_test_data/*.json'", |
| 23 | + "prettier": "prettier --write '*.js' '@(lite|src|test|scripts)/**/*.ts' 'test/unit/remote/bloom_filter_golden_test_data/*.json'", |
24 | 24 | "test:lite": "ts-node ./scripts/run-tests.ts --emulator --platform node_lite --main=lite/index.ts 'test/lite/**/*.test.ts'",
|
25 | 25 | "test:lite:prod": "ts-node ./scripts/run-tests.ts --platform node_lite --main=lite/index.ts 'test/lite/**/*.test.ts'",
|
26 | 26 | "test:lite:prod:nameddb": "ts-node ./scripts/run-tests.ts --platform node_lite --databaseId=test-db --main=lite/index.ts 'test/lite/**/*.test.ts'",
|
27 | 27 | "test:lite:browser": "karma start --lite",
|
28 | 28 | "test:lite:browser:nameddb": "karma start --lite --databaseId=test-db",
|
29 | 29 | "test:lite:browser:debug": "karma start --browsers=Chrome --lite --auto-watch",
|
30 |
| - "test": "run-s --npm-path npm lint test:all", |
| 30 | + "test": "run-s --npm-path npm lint assertion-id:check test:all", |
31 | 31 | "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all:ci",
|
32 | 32 | "test:all:ci": "run-s --npm-path npm test:browser test:travis test:lite:browser test:browser:prod:nameddb test:lite:browser:nameddb",
|
33 | 33 | "test:all": "run-p --npm-path npm test:browser test:lite:browser test:travis test:minified test:browser:prod:nameddb test:lite:browser:nameddb",
|
|
52 | 52 | "api-report:api-json": "rm -rf temp && api-extractor run --local --verbose",
|
53 | 53 | "api-report": "run-s --npm-path npm api-report:main api-report:lite && yarn api-report:api-json",
|
54 | 54 | "doc": "api-documenter markdown --input temp --output docs",
|
55 |
| - "typings:public": "node ../../scripts/build/use_typings.js ./dist/index.d.ts" |
| 55 | + "typings:public": "node ../../scripts/build/use_typings.js ./dist/index.d.ts", |
| 56 | + "assertion-id:check": "ts-node scripts/assertion-id-tool.ts --dir=src --check", |
| 57 | + "assertion-id:new": "ts-node scripts/assertion-id-tool.ts --dir=src --new", |
| 58 | + "assertion-id:list": "ts-node scripts/assertion-id-tool.ts --dir=src --list", |
| 59 | + "assertion-id:find": "ts-node scripts/assertion-id-tool.ts --dir=src --find" |
56 | 60 | },
|
57 | 61 | "exports": {
|
58 | 62 | ".": {
|
|
0 commit comments