|
41 | 41 | "scripts": { |
42 | 42 | "build": "webpack --mode production --display-modules", |
43 | 43 | "clean": "node scripts/clean", |
44 | | - "lint": "npm run lint:compiler && npm run lint:library", |
45 | | - "lint:compiler": "tslint -c tslint.json --project src --formatters-dir lib/lint/formatters --format as", |
46 | | - "lint:library": "tslint -c tslint.json --project std/assembly --formatters-dir lib/lint/formatters --format as", |
47 | | - "test:config": "tsc --noEmit -p src --diagnostics --listFiles", |
| 44 | + "check": "npm run check:config && npm run check:compiler && npm run check:library", |
| 45 | + "check:config": "tsc --noEmit -p src --diagnostics --listFiles", |
| 46 | + "check:compiler": "tslint -c tslint.json --project src --formatters-dir lib/lint/formatters --format as", |
| 47 | + "check:library": "tslint -c tslint.json --project std/assembly --formatters-dir lib/lint/formatters --format as", |
| 48 | + "test": "npm run test:parser && npm run test:compiler", |
48 | 49 | "test:parser": "node tests/parser", |
49 | 50 | "test:compiler": "node tests/compiler", |
50 | | - "test": "npm run test:config --scripts-prepend-node-path && npm run test:parser --scripts-prepend-node-path && npm run test:compiler --scripts-prepend-node-path", |
51 | | - "test:pr": "npm run clean && npm test && npm run build && npm test && npm run clean", |
52 | | - "all": "npm run lint && npm run clean && npm test && npm run build && npm test", |
| 51 | + "make": "npm run clean && npm test && npm run build && npm test", |
| 52 | + "all": "npm run check && npm run make", |
53 | 53 | "docs": "typedoc --tsconfig tsconfig-docs.json --mode modules --name \"AssemblyScript Compiler API\" --out ./docs/api --ignoreCompilerErrors --excludeNotExported --excludePrivate --excludeExternals --exclude **/std/** --includeDeclarations --readme src/README.md" |
54 | 54 | }, |
55 | 55 | "files": [ |
|
0 commit comments