UNPKG

vue-sfc-parser

Version:

Vue.js single file component parser for static analysis

68 lines (67 loc) 1.78 kB
{ "name": "vue-sfc-parser", "version": "0.1.2", "author": "katashin", "description": "Vue.js single file component parser for static analysis", "keywords": [ "Vue.js", "component", "parser", "single file component", "static analysis" ], "license": "MIT", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ "lib" ], "homepage": "https://github.com/ktsn/vue-sfc-parser", "bugs": "https://github.com/ktsn/vue-sfc-parser/issues", "repository": { "type": "git", "url": "https://github.com/ktsn/vue-sfc-parser.git" }, "scripts": { "prepublishOnly": "npm run clean && npm run test && npm run build && npm run build:dts", "clean": "rm -rf lib", "build": "tsc -p src", "build:dts": "tsc -p src --noImplicitAny false --allowJs false --declaration", "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": { "^.+\\.(js|ts)$": "ts-jest" }, "testRegex": "/test/.*\\.spec\\.(js|ts)$", "moduleFileExtensions": [ "ts", "js", "json" ], "globals": { "ts-jest": { "tsConfigFile": "test/tsconfig.json" } } }, "devDependencies": { "@types/jest": "^22.1.3", "@types/lodash.mapvalues": "^4.6.3", "@types/node": "^9.4.7", "jest": "^22.4.2", "prettier": "1.11.0", "ts-jest": "^22.4.0", "tslint": "^5.9.1", "tslint-config-ktsn": "^2.1.0", "tslint-config-prettier": "^1.9.0", "typescript": "^2.7.2" }, "dependencies": { "lodash.mapvalues": "^4.6.0" } }