UNPKG

vue-auto-routing

Version:

Generate Vue Router routing automatically

80 lines (79 loc) 1.98 kB
{ "name": "vue-auto-routing", "version": "1.0.1", "author": "katashin", "description": "Generate Vue Router routing automatically", "keywords": [ "Vue", "Vue Router", "routing", "auto generate", "generator", "webpack", "plugin" ], "license": "MIT", "main": "index.js", "typings": "index.d.ts", "files": [ "lib", "index.js", "index.d.ts" ], "homepage": "https://github.com/ktsn/vue-auto-routing", "bugs": "https://github.com/ktsn/vue-auto-routing/issues", "repository": { "type": "git", "url": "https://github.com/ktsn/vue-auto-routing.git" }, "scripts": { "prepublishOnly": "npm run test && npm run clean && npm run build", "clean": "rm -rf lib && echo export default [] > index.js", "build": "tsc -p src", "dev": "jest --watch", "lint": "tslint -p . && prettier --list-different \"{src,scripts,test}/**/*.{js,ts}\"", "format": "prettier --write \"{src,scripts,test}/**/*.{js,ts}\"", "test": "npm run lint && npm run test:unit", "test:unit": "jest" }, "jest": { "transform": { "^.+\\.ts$": "ts-jest" }, "testRegex": "/test/.+\\.spec\\.(js|ts)$", "modulePathIgnorePatterns": [ "<rootDir>/index.js", "<rootDir>/test/fixtures/" ], "moduleFileExtensions": [ "ts", "js", "json" ], "globals": { "ts-jest": { "tsconfig": "test/tsconfig.json" } } }, "devDependencies": { "@types/fs-extra": "^9.0.6", "@types/jest": "^26.0.19", "@types/webpack": "^4.41.25", "@vue/compiler-sfc": "^3.0.5", "fs-extra": "^9.0.1", "jest": "^26.6.3", "prettier": "2.2.1", "ts-jest": "^26.4.4", "tslint": "^6.1.3", "tslint-config-ktsn": "^2.1.0", "tslint-config-prettier": "^1.18.0", "typescript": "^4.1.3", "vue": "^3.0.5", "vue-router": "^4.0.2", "webpack": "^5.11.1" }, "dependencies": { "vue-route-generator": "^1.0.0" } }