|
@@ -6,7 +6,8 @@
|
|
"scripts": {
|
|
"scripts": {
|
|
"clean": "rm -rf ./dist",
|
|
"clean": "rm -rf ./dist",
|
|
"eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
|
|
"eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
|
|
- "prebuild": "npm run clean",
|
|
|
|
|
|
+ "tscheck": "tsc --noEmit",
|
|
|
|
+ "prebuild": "npm run clean && npm run tscheck",
|
|
"build": "parcel build -d dist --public-url ./ ./src/index.html",
|
|
"build": "parcel build -d dist --public-url ./ ./src/index.html",
|
|
"predev": "npm run clean",
|
|
"predev": "npm run clean",
|
|
"dev": "parcel serve -d dist --public-url / ./src/index.html",
|
|
"dev": "parcel serve -d dist --public-url / ./src/index.html",
|