@wang1212/create-web-app
Advanced tools
Comparing version 0.5.5 to 0.6.0
{ | ||
"name": "@wang1212/create-web-app", | ||
"version": "0.5.5", | ||
"version": "0.6.0", | ||
"keywords": [ | ||
@@ -34,3 +34,4 @@ "web-app", | ||
"scripts": { | ||
"release": "np" | ||
"prepare": "husky install", | ||
"release": "np --message='v%s'" | ||
}, | ||
@@ -52,4 +53,7 @@ "publishConfig": { | ||
"devDependencies": { | ||
"@commitlint/cli": "^12.1.4", | ||
"@commitlint/config-conventional": "^12.1.4", | ||
"husky": "^6.0.0", | ||
"np": "*" | ||
} | ||
} |
@@ -100,8 +100,10 @@ /* eslint-disable */ | ||
extensions: ['.ts', '.js', '.mjs', '.json'], | ||
alias: { | ||
components: path.resolve('./src/components/'), | ||
utils: path.resolve('./src/utils/'), | ||
assets: path.resolve('./src/assets/'), | ||
vendors: path.resolve('./src/vendors/'), | ||
}, | ||
// Alias will cause IntelliSense to be invalid. | ||
// Although it can be fixed, it will increase configuration complexity and cause a series of problems. | ||
// alias: { | ||
// components: path.resolve('./src/components/'), | ||
// utils: path.resolve('./src/utils/'), | ||
// assets: path.resolve('./src/assets/'), | ||
// vendors: path.resolve('./src/vendors/'), | ||
// }, | ||
}, | ||
@@ -108,0 +110,0 @@ module: { |
@@ -35,2 +35,4 @@ { | ||
"@babel/preset-typescript": "^7.13.0", | ||
"@commitlint/cli": "^12.1.4", | ||
"@commitlint/config-conventional": "^12.1.4", | ||
"@typescript-eslint/eslint-plugin": "^4.23.0", | ||
@@ -37,0 +39,0 @@ "@typescript-eslint/parser": "^4.23.0", |
@@ -101,9 +101,11 @@ /* eslint-disable */ | ||
extensions: ['.tsx', '.ts', '.jsx', '.js', '.mjs', '.json'], | ||
alias: { | ||
components: path.resolve('./src/components/'), | ||
models: path.resolve('./src/models/'), | ||
utils: path.resolve('./src/utils/'), | ||
assets: path.resolve('./src/assets/'), | ||
vendors: path.resolve('./src/vendors/'), | ||
}, | ||
// Alias will cause IntelliSense to be invalid. | ||
// Although it can be fixed, it will increase configuration complexity and cause a series of problems. | ||
// alias: { | ||
// components: path.resolve('./src/components/'), | ||
// models: path.resolve('./src/models/'), | ||
// utils: path.resolve('./src/utils/'), | ||
// assets: path.resolve('./src/assets/'), | ||
// vendors: path.resolve('./src/vendors/'), | ||
// }, | ||
}, | ||
@@ -110,0 +112,0 @@ module: { |
@@ -44,2 +44,4 @@ { | ||
"@babel/preset-typescript": "^7.13.0", | ||
"@commitlint/cli": "^12.1.4", | ||
"@commitlint/config-conventional": "^12.1.4", | ||
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3", | ||
@@ -46,0 +48,0 @@ "@types/loadable__component": "^5.13.3", |
268062
152
2946
4