|
@@ -5,8 +5,9 @@
|
|
|
"main": "index.js",
|
|
|
"scripts": {
|
|
|
"clean": "rm -rf ./dist",
|
|
|
- "eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
|
|
|
- "prebuild": "npm run clean",
|
|
|
+ "lint": "tslint --project .",
|
|
|
+ "tscheck": "tsc --noEmit",
|
|
|
+ "prebuild": "npm run clean && npm run tscheck",
|
|
|
"build": "parcel build -d dist --public-url ./ ./src/index.html",
|
|
|
"predev": "npm run clean",
|
|
|
"dev": "parcel serve -d dist --public-url / ./src/index.html",
|
|
@@ -29,21 +30,21 @@
|
|
|
"typescript": "^3.7.2"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
+ "@types/classnames": "^2.2.9",
|
|
|
"@types/node": "^12.12.7",
|
|
|
"@types/react": "^16.9.11",
|
|
|
"@types/react-dom": "^16.9.4",
|
|
|
+ "@types/react-router": "^5.1.3",
|
|
|
+ "@types/react-router-dom": "^5.1.2",
|
|
|
"@types/webpack-env": "^1.14.1",
|
|
|
- "@typescript-eslint/eslint-plugin": "^2.7.0",
|
|
|
- "@typescript-eslint/parser": "^2.7.0",
|
|
|
- "eslint": "^6.6.0",
|
|
|
- "eslint-config-standard": "^14.1.0",
|
|
|
- "eslint-plugin-import": "^2.18.2",
|
|
|
- "eslint-plugin-node": "^10.0.0",
|
|
|
- "eslint-plugin-promise": "^4.2.1",
|
|
|
- "eslint-plugin-react": "^7.16.0",
|
|
|
- "eslint-plugin-standard": "^4.0.1",
|
|
|
+ "classnames": "^2.2.6",
|
|
|
"parcel-bundler": "^1.12.4",
|
|
|
+ "postcss-modules": "^1.4.1",
|
|
|
+ "postcss-nested": "^4.2.1",
|
|
|
"react": "^16.11.0",
|
|
|
- "react-dom": "^16.11.0"
|
|
|
+ "react-dom": "^16.11.0",
|
|
|
+ "react-router": "^5.1.2",
|
|
|
+ "react-router-dom": "^5.1.2",
|
|
|
+ "tslint": "^5.20.1"
|
|
|
}
|
|
|
}
|