-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 2.59 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "vinyl-named2",
"description": "Give vinyl files chunk names.",
"version": "1.0.0",
"author": {
"name": "roydukkey",
"email": "contact@changelog.me",
"url": "http://changelog.me"
},
"license": "MIT",
"homepage": "https://github.com/roydukkey/vinyl-named2/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/roydukkey/vinyl-named2.git"
},
"bugs": {
"url": "https://github.com/roydukkey/vinyl-named2/issues"
},
"keywords": [
"vinyl",
"fs",
"name",
"typescript"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"through2": "^4.0.2"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@roydukkey/eslint-config": "^1.0.2",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.20",
"@types/through2": "^2.0.36",
"@types/vinyl-fs": "^2.4.11",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"babel-jest": "^26.6.3",
"clean-package": "^1.0.1",
"cspell": "^5.1.3",
"eslint": "^7.17.0",
"eslint-plugin-tsdoc": "^0.2.10",
"jest": "^26.6.3",
"terser": "^5.5.1",
"ts-node": "^9.1.1",
"typescript": "^4.1.3",
"vinyl-fs": "^3.0.3",
"yarpm": "^1.1.1"
},
"scripts": {
"clean": "node -e \"fs.rmdirSync('./dist', { recursive: true })\"",
"lint": "yarpm run lint:es && yarpm run lint:spelling",
"lint:es": "eslint --ext .ts ./src ./test",
"lint:spelling": "cspell --config './.vscode/cSpell.json' '**/{.*/**/,.*/**/.,,.}*'",
"build": "yarpm run clean && tsc",
"minify": "terser --compress --mangle -o $npm_package_main -- $npm_package_main",
"pretest": "yarpm run lint",
"test": "jest",
"prepack": "yarpm run build && yarpm run minify && yarpm run test -- --coverage=false --verbose=false && clean-package",
"new:pack": "yarpm pack && clean-package restore",
"new:publish": "yarpm publish && clean-package restore"
},
"clean-package": {
"indent": "\t",
"remove": [
"babel",
"clean-package",
"devDependencies",
"eslintConfig",
"jest",
"scripts"
]
},
"jest": {
"testEnvironment": "node",
"verbose": true,
"collectCoverage": true,
"coverageDirectory": ".jest/coverage",
"cacheDirectory": ".jest/cache"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-typescript"
]
},
"eslintConfig": {
"ignorePatterns": [
"dist/*"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": [
"@roydukkey/eslint-config"
]
}
}