-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 3.05 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
{
"name": "fenix",
"description": "A Volto-powered Plone frontend",
"license": "MIT",
"version": "1.0.0",
"scripts": {
"develop:npx": "npx -p mrs-developer missdev --config=jsconfig.json --output=addons",
"develop": "missdev --config=jsconfig.json --output=addons",
"preinstall": "if [ -f $(pwd)/node_modules/.bin/missdev ]; then yarn develop; else yarn develop:npx; fi",
"start": "razzle start",
"postinstall": "yarn omelette && yarn patches",
"omelette": "ln -sf node_modules/@plone/volto/ omelette",
"patches": "/bin/bash patches/patchit.sh > /dev/null 2>&1 ||true",
"build": "razzle build",
"test": "razzle test --env=jsdom --passWithNoTests",
"start:prod": "NODE_ENV=production node build/server.js",
"i18n": "NODE_ENV=production node node_modules/@plone/volto/src/i18n.js"
},
"private": true,
"workspaces": [
"src/addons/guillotinaweb.volto-guillotina"
],
"addons": [
"@guillotinaweb/volto-guillotina"
],
"jest": {
"modulePathIgnorePatterns": [
"api"
],
"transform": {
"^.+\\.js(x)?$": "babel-jest",
"^.+\\.css$": "jest-css-modules",
"^.+\\.scss$": "jest-css-modules",
"^.+\\.(png)$": "jest-file",
"^.+\\.(jpg)$": "jest-file",
"^.+\\.(svg)$": "./node_modules/@plone/volto/jest-svgsystem-transform.js"
},
"transformIgnorePatterns": [
"/node_modules/(?!@plone/volto).+\\.js$"
],
"moduleNameMapper": {
"@plone/volto/babel": "<rootDir>/node_modules/@plone/volto/babel",
"@plone/volto/(.*)$": "<rootDir>/node_modules/@plone/volto/src/$1",
"load-volto-addons": "<rootDir>/node_modules/@plone/volto/jest-addons-loader.js",
"@package/(.*)$": "<rootDir>/src/$1",
"~/(.*)$": "<rootDir>/src/$1"
},
"coverageThreshold": {
"global": {
"branches": 10,
"functions": 10,
"lines": 10,
"statements": 10
}
},
"setupFiles": [
"@plone/volto/test-setup.js"
],
"globals": {
"__DEV__": true
}
},
"prettier": {
"trailingComma": "all",
"singleQuote": true,
"overrides": [
{
"files": "*.overrides",
"options": {
"parser": "less"
}
}
]
},
"stylelint": {
"extends": [
"stylelint-config-idiomatic-order"
],
"plugins": [
"stylelint-prettier"
],
"rules": {
"prettier/prettier": true,
"rule-empty-line-before": [
"always-multi-line",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
]
},
"ignoreFiles": "theme/themes/default/**/*.overrides"
},
"engines": {
"node": "^10 || ^12 || ^14"
},
"dependencies": {
"@plone/volto": "8.10.1",
"mrs-developer": "1.4.0"
},
"devDependencies": {
"@babel/core": "7.11.1",
"eslint-plugin-prettier": "3.1.3",
"prettier": "2.0.5",
"stylelint": "13.3.3",
"stylelint-config-idiomatic-order": "8.1.0",
"stylelint-config-prettier": "8.0.1",
"stylelint-prettier": "1.1.2"
}
}