-
Notifications
You must be signed in to change notification settings - Fork 210
/
package.json
105 lines (105 loc) · 1.87 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
{
"name": "nvs",
"version": "1.7.1",
"description": "Node Version Switcher",
"main": "lib/index.js",
"scripts": {
"test": "ava --verbose --serial test/modules/* test/cli/*",
"test-cli": "ava --verbose --serial test/cli/*",
"test-modules": "ava --verbose --serial test/modules/*",
"coverage": "nyc --all ava --serial test/modules/*",
"lint": "eslint lib test",
"ts-check": "tsc"
},
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jasongin/nvs"
},
"devDependencies": {
"@types/node": "^16.18.6",
"ava": "^5.1.0",
"eslint": "^8.29.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"nyc": "^15.1.0",
"rewire": "^2.5.2",
"typescript": "^4.9.3"
},
"ava": {
"files": [
"test/**/*Tests.js"
],
"timeout": "10m"
},
"nyc": {
"include": [
"lib/**"
],
"reporter": [
"text",
"html"
]
},
"eslintConfig": {
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "script"
},
"extends": "standard",
"plugins": [
"promise"
],
"rules": {
"no-tabs": "off",
"no-multi-spaces": [
"error",
{
"ignoreEOLComments": true
}
],
"indent": [
"error",
"tab",
{
"SwitchCase": 1
}
],
"semi": [
"error",
"always"
],
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never"
}
],
"comma-dangle": [
"error",
"always-multiline"
],
"strict": [
"error",
"global"
],
"no-var": "error",
"prefer-const": "off",
"quote-props": "off",
"array-bracket-spacing": "off",
"dot-notation": "off",
"no-case-declarations": "off",
"no-empty": "off",
"object-shorthand": "off",
"multiline-ternary": "off"
}
}
}