-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
118 lines (118 loc) · 3.43 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "wagtail-hallo",
"version": "0.6.0",
"private": true,
"description": "",
"scripts": {
"format": "prettier --write '**/*.{js,md,css,scss,yaml,yml,json}'",
"format:check": "prettier --check '**/*.{js,md,css,scss,yaml,yml,json}'",
"fix": "npm run fix:css && npm run fix:js",
"fix:css": "stylelint **/*.css --fix",
"fix:js": "eslint ./ --fix",
"lint": "npm run lint:css && npm run lint:js",
"lint:css": "stylelint **/*.css",
"lint:js": "eslint ./ --max-warnings 0",
"test": "jest",
"preflight": "npm run format:check && npm run lint && npm run test"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@wagtail/eslint-config-wagtail": "^0.4.0",
"@wagtail/stylelint-config-wagtail": "^0.3.2",
"eslint": "^8.2.0",
"jest": "^27.4.7",
"jquery": "^3.6.0",
"prettier": "^2.5.1",
"stylelint": "^14.3.0"
},
"eslintConfig": {
"extends": [
"@wagtail/eslint-config-wagtail"
],
"env": {
"jest": true,
"browser": true
},
"ignorePatterns": [
"coverage/",
"node_modules",
"**/vendor/",
"**/hallo-telepath.js"
],
"globals": {
"$": "readonly",
"addMessage": "readonly",
"buildExpandingFormset": "readonly",
"escapeHtml": "readonly",
"insertRichTextDeleteControl": "readonly",
"jQuery": "readonly",
"jsonData": "readonly",
"ModalWorkflow": "readonly",
"DOCUMENT_CHOOSER_MODAL_ONLOAD_HANDLERS": "writable",
"EMBED_CHOOSER_MODAL_ONLOAD_HANDLERS": "writable",
"IMAGE_CHOOSER_MODAL_ONLOAD_HANDLERS": "writable",
"QUERY_CHOOSER_MODAL_ONLOAD_HANDLERS": "writable",
"SNIPPET_CHOOSER_MODAL_ONLOAD_HANDLERS": "writable"
},
"rules": {
"class-methods-use-this": "off",
"constructor-super": "off",
"default-param-last": "off",
"func-names": "off",
"import/extensions": "off",
"import/first": "off",
"import/newline-after-import": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"import/no-useless-path-segments": "off",
"import/order": "off",
"import/prefer-default-export": "off",
"lines-between-class-members": "off",
"max-classes-per-file": "off",
"no-await-in-loop": "off",
"no-continue": "off",
"no-else-return": "off",
"no-extra-boolean-cast": "off",
"no-import-assign": "off",
"no-lonely-if": "off",
"no-plusplus": "off",
"no-prototype-builtins": "off",
"no-restricted-syntax": "off",
"no-this-before-super": "off",
"no-unused-vars": "off",
"object-shorthand": "off",
"operator-assignment": "off",
"prefer-arrow-callback": "off",
"prefer-destructuring": "off",
"prefer-object-spread": "off",
"prefer-promise-reject-errors": "off",
"strict": "off"
},
"settings": {
"react": {
"version": "16.0"
}
}
},
"jest": {
"testEnvironment": "jsdom"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"stylelint": {
"extends": [
"@wagtail/stylelint-config-wagtail"
],
"rules": {
"declaration-property-value-allowed-list": null,
"font-family-no-missing-generic-family-keyword": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"property-disallowed-list": null,
"scss/media-feature-value-dollar-variable": null
}
}
}