-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.02 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
{
"name": "plugin-use",
"version": "1.0.0",
"description": "A simple Event Emitter, tuned to be used as a plugin driver.",
"license": "MIT",
"author": "Keith Cirkel (https://keithcirkel.co.uk/)",
"type": "module",
"exports": {
"import": "mjs/index.js",
"require": "cjs/index.js"
},
"main": "cjs/index.js",
"module": "mjs/index.js",
"files": [
"cjs/index.*",
"mjs/index.*"
],
"scripts": {
"build": "tsc && tsc --module es2020 --outDir mjs",
"lint": "eslint --ignore-path .gitignore --ext .ts .",
"test": "npm run build && nyc mocha cjs/test.js"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier"
],
"extends": [
"standard"
],
"rules": {
"space-before-function-paren": 0,
"semi": 0,
"comma-dangle": 0,
"prettier/prettier": [
"error",
{
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid",
"bracketSpacing": true
}
]
}
},
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid",
"bracketSpacing": true
},
"dependencies": {},
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.5",
"@typescript-eslint/eslint-plugin": "^3.0.1",
"@typescript-eslint/parser": "^3.0.1",
"chai": "^4.2.0",
"eslint": "^7.1.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"mocha": "^7.2.0",
"nyc": "^15.0.1",
"prettier": "^2.0.5",
"ts-node": "^8.10.1",
"typescript": "^3.9.3"
}
}