-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 838 Bytes
/
package.json
File metadata and controls
38 lines (38 loc) · 838 Bytes
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
{
"name": "@evercoder/pubsub",
"version": "1.0.0",
"main": "dist/pubsub.cjs.js",
"module": "dist/pubsub.js",
"private": false,
"devDependencies": {
"esbuild": "^0.12.17",
"esm": "^3.2.25",
"husky": "^0.14.3",
"prettier": "^1.13.7",
"pretty-quick": "^1.6.0",
"tape": "^4.9.1"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"scripts": {
"build": "esbuild src/pubsub.js --format=cjs --outfile=dist/pubsub.cjs.js --minify && esbuild src/pubsub.js --format=esm --outfile=dist/pubsub.js --minify",
"test": "tape -r esm 'test/tests.js'"
},
"prettier": {
"bracketSpacing": true,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"useTabs": true,
"tabWidth": 4,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"printWidth": 100
},
"files": [
"dist"
]
}