-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
67 lines (67 loc) · 1.74 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"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"
}
}