UNPKG

vue-router-layout

Version:

Lightweight layout selector for Vue Router

76 lines (75 loc) 1.98 kB
{ "name": "vue-router-layout", "version": "0.4.1", "author": "katashin", "description": "Lightweight layout selector for Vue Router", "keywords": [ "Vue", "Vue Router", "routing", "layout", "dynamic imports" ], "license": "MIT", "main": "dist/vue-router-layout.cjs.js", "module": "lib/index.js", "types": "lib/index.d.ts", "files": [ "dist", "lib" ], "homepage": "https://github.com/ktsn/vue-router-layout", "bugs": "https://github.com/ktsn/vue-router-layout/issues", "repository": { "type": "git", "url": "https://github.com/ktsn/vue-router-layout.git" }, "scripts": { "prepublishOnly": "npm run test && npm run clean && npm run build", "clean": "rm -rf lib dist .tmp", "dev": "jest --watch", "build": "npm run build:ts && npm run build:rollup", "build:ts": "tsc -p src", "build:rollup": "node scripts/build.js", "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)$", "moduleNameMapper": { "^vue$": "vue/dist/vue.cjs.js" }, "moduleFileExtensions": [ "ts", "js", "json" ], "globals": { "ts-jest": { "tsconfig": "test/tsconfig.json" } } }, "devDependencies": { "@types/jest": "^26.0.19", "@vue/compiler-sfc": "^3.0.5", "@vue/test-utils": "^2.0.0-beta.13", "jest": "^26.6.3", "prettier": "2.3.0", "rollup": "^2.36.1", "rollup-plugin-replace": "^2.2.0", "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", "uglify-js": "^3.12.4", "vue": "^3.0.5", "vue-router": "^4.0.2" } }