UNPKG

webpack-routes-plugin

Version:

基于文件系统的webpack约定式路由插件 - 自动生成路由配置,告别手写路由文件

64 lines 1.56 kB
{ "name": "webpack-routes-plugin", "version": "1.0.0", "description": "基于文件系统的webpack约定式路由插件 - 自动生成路由配置,告别手写路由文件", "main": "src/index.js", "files": [ "src/", "README.md", "LICENSE" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "webpack --mode=production", "dev": "webpack serve --mode=development --open", "prepublishOnly": "echo \"Ready to publish\"" }, "keywords": [ "webpack", "plugin", "routes", "convention", "file-system-routing", "react", "vue", "routing", "automatic", "pages" ], "author": { "name": "gaobin", "email": "" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/js0205/webpack-routes-plugin.git" }, "bugs": { "url": "https://github.com/js0205/webpack-routes-plugin/issues" }, "homepage": "https://github.com/js0205/webpack-routes-plugin#readme", "engines": { "node": ">=12.0.0" }, "dependencies": {}, "devDependencies": { "webpack": "^5.0.0", "webpack-cli": "^5.0.0", "webpack-dev-server": "^4.0.0", "babel-loader": "^9.0.0", "@babel/core": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "html-webpack-plugin": "^5.0.0", "style-loader": "^3.0.0", "css-loader": "^6.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", "react-router-dom": "^6.0.0" }, "peerDependencies": { "webpack": "^5.0.0" } }