-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 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
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-nunjucks",
"version": "0.2.0",
"license": "MIT",
"description": "Nunjucks driver for Sapling",
"type": "module",
"keywords": [
"nunjucks",
"sapling",
"saplingjs",
"templating",
"driver"
],
"homepage": "https://www.saplingjs.com",
"bugs": "https://github.com/saplingjs/render-driver-nunjucks/issues",
"author": {
"name": "Oskari Groenroos",
"email": "[email protected]",
"url": "https://www.groenroos.fi"
},
"dependencies": {
"nunjucks": "^3.2.3",
"path": "^0.12.7"
},
"peerDependencies": {
"@sapling/sapling": "^0.1.0"
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/eslint-parser": "^7.13.10",
"ava": "^5.0.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.0",
"nyc": "^15.1.0",
"xo": "^0.53.1"
},
"scripts": {
"precommit": "lint-staged",
"lint-fix": "xo --fix",
"lint": "xo",
"test": "nyc ava",
"test:report": "nyc --reporter=lcov npm test",
"test:send": "npx codecov"
},
"files": [
"index.js"
],
"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"
]
}
}