-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.51 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
{
"private": true,
"name": "unified-doc-dom",
"license": "MIT",
"homepage": "https://github.com/unified-doc/unified-doc-dom",
"repository": "https://github.com/unified-doc/unified-doc-dom",
"bugs": "https://github.com/unified-doc/unified-doc-dom/issues",
"author": "Chris Zhou <[email protected]> (https://chrisrzhou.io)",
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna exec --parallel microbundle",
"clean": "lerna exec --parallel 'rm -rf dist node_modules'",
"dev": "lerna exec --parallel 'microbundle watch'",
"lint": "xo --fix; tsc",
"test": "jest --watch packages",
"test:run": "jest",
"prepare": "npm run clean; npm run build",
"publish": "lerna publish"
},
"dependencies": {
"unified-doc-dom": "file:packages/unified-doc-dom"
},
"devDependencies": {
"@babel/preset-env": "^7.11.5",
"@types/jest": "^26.0.13",
"babel-jest": "^26.2.2",
"husky": "^4.2.5",
"jest": "^26.4.2",
"lerna": "^3.22.1",
"microbundle": "^0.12.2",
"typescript": "^4.0.2",
"xo": "^0.33.1"
},
"husky": {
"hooks": {
"pre-push": "npm prepare; npm run lint; npm run test:run"
}
},
"prettier": {
"bracketSpacing": true,
"jsxBracketSameLine": true,
"trailingComma": "all",
"useTabs": false
},
"xo": {
"env": [
"browser",
"jest"
],
"prettier": true,
"rules": {
"capitalized-comments": "off",
"padding-line-between-statements": "off",
"unicorn/no-reduce": "off"
}
}
}