项目初始化
parents
Showing
.babelrc
0 → 100644
.gitignore
0 → 100644
index.html
0 → 100644
package.json
0 → 100644
{ | ||
"name": "babeltemplate", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"dev": "node ./scripts/devServer.js", | ||
"babelbuild": "babel src --out-dir dist --extensions .ts,.tsx", | ||
"build": "webpack --config webpack.prod.js" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"@babel/cli": "^7.19.3", | ||
"@babel/core": "^7.19.3", | ||
"@babel/helper-module-imports": "^7.18.6", | ||
"@babel/plugin-proposal-optional-chaining": "^7.18.9", | ||
"@babel/plugin-syntax-jsx": "^7.18.6", | ||
"@babel/plugin-transform-runtime": "^7.19.1", | ||
"@babel/preset-env": "^7.19.1", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"babel-loader": "^8.2.5", | ||
"ts-loader": "^9.4.1", | ||
"typescript": "^4.8.3", | ||
"webpack": "^5.74.0", | ||
"webpack-cli": "^4.10.0", | ||
"webpack-dev-server": "^4.11.1", | ||
"webpack-merge": "^5.8.0" | ||
} | ||
} |
scripts/devServer.js
0 → 100644
src/index.ts
0 → 100644
tsconfig.json
0 → 100644
webpack.common.js
0 → 100644
webpack.dev.js
0 → 100644
webpack.prod.js
0 → 100644
yarn.lock
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment