-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
137 lines (137 loc) · 4.13 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "forest-frontend",
"description": "Frontend component for the Forests website.",
"license": "MIT",
"version": "2.28.0",
"private": true,
"workspaces": [
"src/develop/*"
],
"addons": [
"@eeacms/volto-eea-kitkat",
"@eeacms/volto-tableau",
"@eeacms/volto-forests-theme",
"@eeacms/volto-datablocks",
"@eeacms/volto-plotlycharts",
"@eeacms/volto-addons-forest",
"@eeacms/volto-embed",
"@eeacms/volto-middleware-vh",
"@eeacms/volto-slate-dataentity"
],
"dependencies": {
"@babel/plugin-transform-react-jsx": "*",
"@eeacms/volto-addons-forest": "0.1.6",
"@eeacms/volto-datablocks": "4.0.1",
"@eeacms/volto-eea-kitkat": "9.0.0",
"@eeacms/volto-embed": "5.0.0",
"@eeacms/volto-forests-theme": "0.2.22",
"@eeacms/volto-middleware-vh": "1.0.6",
"@eeacms/volto-plotlycharts": "5.0.8",
"@eeacms/volto-slate-dataentity": "2.0.0",
"@eeacms/volto-tableau": "2.0.0",
"@plone/volto": "16.0.0-alpha.45",
"semantic-ui-react": "2.0.4"
},
"devDependencies": {
"cypress": "10.11.0",
"mrs-developer": "^1.4.0"
},
"scripts": {
"start": "razzle start",
"analyze": "BUNDLE_ANALYZE=true razzle build",
"build": "razzle build --noninteractive",
"start:prod": "NODE_ENV=production node build/server.js",
"i18n": "rm -rf build/messages && NODE_ENV=production i18n",
"develop:npx": "npx -p mrs-developer missdev --config=jsconfig.json --output=develop",
"develop": "missdev --config=jsconfig.json --output=develop",
"update": "./scripts/update.sh",
"test": "./node_modules/jest/bin/jest.js --env=jsdom --passWithNoTests src/addons --verbose",
"cypress:run": "./node_modules/cypress/bin/cypress run",
"cypress:open": "./node_modules/cypress/bin/cypress open",
"release": "release-it",
"release-major-beta": "release-it major --preRelease=beta",
"release-beta": "npx release-it --preRelease=beta",
"postinstall": "yarn omelette && yarn patches",
"omelette": "ln -sf node_modules/@plone/volto/ omelette",
"patches": "/bin/bash patches/patchit.sh > /dev/null 2>&1 ||true"
},
"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/cypress/(.*)$": "<rootDir>/node_modules/@plone/volto/cypress/$1",
"@plone/volto/addon-registry": "<rootDir>/node_modules/@plone/volto/addon-registry",
"@plone/volto/webpack-plugins/webpack-less-plugin": "<rootDir>/node_modules/@plone/volto/webpack-plugins/webpack-less-plugin",
"@plone/volto/babel": "<rootDir>/node_modules/@plone/volto/babel",
"@plone/volto/(.*)$": "<rootDir>/node_modules/@plone/volto/src/$1",
"@package/(.*)$": "<rootDir>/src/$1",
"~/(.*)$": "<rootDir>/src/$1"
},
"coverageThreshold": {
"global": {
"branches": 10,
"functions": 10,
"lines": 10,
"statements": 10
}
},
"setupFiles": [
"@plone/volto/test-setup-globals.js",
"@plone/volto/test-setup-config.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": "^14 || ^16"
},
"packageManager": "yarn@1.18.0"
}