-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.04 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
{
"name": "@sapling/render-driver-pug",
"version": "0.1.0",
"license": "MIT",
"description": "Pug driver for Sapling",
"type": "module",
"keywords": [
"pug",
"jade",
"sapling",
"saplingjs",
"templating",
"driver"
],
"homepage": "https://www.saplingjs.com",
"bugs": "https://github.com/saplingjs/render-driver-pug/issues",
"author": {
"name": "Oskari Groenroos",
"email": "oskari@groenroos.fi",
"url": "https://www.groenroos.fi"
},
"dependencies": {
"path": "^0.12.7",
"pug": "^3.0.2",
"underscore": "^1.13.6"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/eslint-parser": "^7.19.1",
"ava": "^5.2.0",
"c8": "^7.13.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"xo": "^0.53.1"
},
"peerDependencies": {
"@sapling/sapling": "^0.2.0"
},
"scripts": {
"precommit": "lint-staged",
"lint-fix": "xo --fix",
"lint": "xo",
"test": "npx ava",
"test:coverage": "npx c8 ava",
"test:report": "npx c8 --reporter=lcov npm test",
"test:send": "npx codecov"
},
"xo": {
"ignores": [
"node_modules/**/*.*",
"test/**/*.*"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
},
"rules": {
"max-params": [
"warn",
{
"max": 6
}
],
"no-multiple-empty-lines": [
"error",
{
"max": 2
}
],
"no-await-in-loop": "off",
"no-new": "off",
"no-return-await": "off",
"object-curly-spacing": [
"error",
"always"
],
"unicorn/filename-case": [
"error",
{
"cases": {
"camelCase": true,
"pascalCase": true
}
}
],
"unicorn/numeric-separators-style": "off"
}
},
"ava": {
"files": [
"test/**/*"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"!(*test).js": [
"npm run lint"
]
}
}