|
@@ -7,7 +7,7 @@
|
|
"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",
|
|
"prebuild": "npm run clean",
|
|
- "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",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -29,8 +29,10 @@
|
|
"typescript": "^3.7.2"
|
|
"typescript": "^3.7.2"
|
|
},
|
|
},
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
|
|
+ "@types/node": "^12.12.7",
|
|
"@types/react": "^16.9.11",
|
|
"@types/react": "^16.9.11",
|
|
"@types/react-dom": "^16.9.4",
|
|
"@types/react-dom": "^16.9.4",
|
|
|
|
+ "@types/webpack-env": "^1.14.1",
|
|
"@typescript-eslint/eslint-plugin": "^2.7.0",
|
|
"@typescript-eslint/eslint-plugin": "^2.7.0",
|
|
"@typescript-eslint/parser": "^2.7.0",
|
|
"@typescript-eslint/parser": "^2.7.0",
|
|
"eslint": "^6.6.0",
|
|
"eslint": "^6.6.0",
|