Add 'build' goal for check + dist without test

This commit is contained in:
Daz DeBoer 2022-06-13 12:00:13 -06:00
parent 05257c7a5f
commit ef638c00fd
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D

View file

@ -8,10 +8,11 @@
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"build": "ncc build src/main.ts --out dist/main --source-map && ncc build src/post.ts --out dist/post --source-map",
"compile": "ncc build src/main.ts --out dist/main --source-map && ncc build src/post.ts --out dist/post --source-map",
"test": "jest",
"check": "npm run format && npm run lint",
"all": "npm run format && npm run lint && npm run build && npm test"
"build": "npm run check && npm run compile",
"all": "npm run build && npm test"
},
"repository": {
"type": "git",