This repository has been archived by the owner on May 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
134 lines (134 loc) · 5.42 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
{
"private": true,
"scripts": {
"changelog": "lerna-changelog",
"check:release": "scripts/check-packages.sh",
"check:component": "run-s \"php-clean:{1}\" \"render:* {1} {2}\" \"php-prettify:{1}\" \"diff {1} {2}\" --",
"clean": "run-p twing:clean php:clean",
"diff": "lerna --scope \"@ecl-twig/php-storybook\" run diff --",
"diff:ecl": "node_modules/@ecl-twig/ecl-diff/ecl-diff.js --interactive",
"diff:ecl-full": "node_modules/@ecl-twig/ecl-diff/ecl-diff-full.js",
"dist": "run-s clean twing:dist php:dist",
"grump-dis": "./scripts/grump-dis.js",
"grump-en": "./scripts/grump-en.js",
"jest": "jest",
"jest:update": "jest -u",
"lint": "eslint .",
"php:copy": "./node_modules/@ecl-twig/php-storybook/resources/get-assets.js",
"php-clean:eu": "rimraf php/packages/eu php/dist/eu",
"php-clean:ec": "rimraf php/packages/ec php/dist/ec",
"php:dist": "npm-run-all php:clean render-php-js storybook-build-php:* php:copy php:dist-fix",
"php:clean": "npm-run-all php-clean:*",
"php:dist-fix": "./node_modules/@ecl-twig/php-storybook/resources/fix-build.js",
"php:install": "lerna --scope \"@ecl-twig/php-storybook\" run setup",
"php-prettify:ec": "prettier --write \"php/packages/ec/**/*.{html,js}\"",
"php-prettify:eu": "prettier --write \"php/packages/eu/**/*.{html,js}\"",
"postinstall": "lerna run postinstall && lerna run prepublish && patch-package",
"pretty:check": "prettier --check \"src/**/*.{md,mdx,html,json,yml,js}\"",
"pretty:fix": "prettier --write \"src/**/*.{md,mdx,html,json,yml,js}\"",
"pretty:php": "prettier --write \"php/packages/**/*.{html,js}\"",
"publish": "scripts/publish.sh",
"render:dataGen": "babel-node ./node_modules/@ecl-twig/php-storybook/scripts/generate-data-files.js",
"render:php": "lerna --scope \"@ecl-twig/php-storybook\" run render-php --",
"render:js": "lerna --scope \"@ecl-twig/php-storybook\" run render-js --",
"render-php-js": "run-s php:clean \"render:* {1} \" pretty:php --",
"start:ec": "yarn storybook-start-twing:ec",
"start:eu": "yarn storybook-start-twing:eu",
"start:php-ec": "npm-run-all php:install php-clean:ec \"render-php-js ec\" storybook-start-php:ec",
"start:php-eu": "npm-run-all php:install php-clean:eu \"render-php-js eu\" storybook-start-php:eu",
"storybook-build-twing:ec": "build-storybook -c ./src/ec/storybook/.storybook -o build/ec",
"storybook-build-twing:eu": "STORYBOOK_SYSTEM=EU build-storybook -c ./src/eu/storybook/.storybook -o build/eu",
"storybook-build-php:ec": "build-storybook -c php/ec/.storybook -o php/dist/ec",
"storybook-build-php:eu": "STORYBOOK_SYSTEM=EU build-storybook -c php/eu/.storybook -o php/dist/eu",
"storybook-start-twing:ec": "start-storybook -p 9001 -c src/ec/storybook/.storybook",
"storybook-start-twing:eu": "STORYBOOK_SYSTEM=EU start-storybook -p 9002 -c src/eu/storybook/.storybook",
"storybook-start-php:ec": "start-storybook -s ./static/images -p 9003 -c php/ec/.storybook",
"storybook-start-php:eu": "STORYBOOK_SYSTEM=EU start-storybook -s ./static/images -p 9004 -c php/eu/.storybook",
"test": "npm run jest",
"twing:copy": "ncp static build",
"twing:clean": "rimraf build dist",
"twing:dist": "npm-run-all twing:clean storybook-build-twing:* twing:copy",
"update-version": "lerna version --no-push --no-git-tag-version"
},
"devDependencies": {
"@babel/core": "7.16.7",
"@babel/eslint-parser": "7.16.5",
"@babel/node": "7.16.7",
"@babel/plugin-transform-runtime": "7.16.7",
"@babel/preset-env": "7.16.7",
"@babel/preset-react": "7.16.7",
"babel-jest": "27.4.6",
"babel-loader": "8.2.3",
"babel-plugin-preval": "5.0.0",
"browser-update": "3.3.37",
"core-js": "3.20.2",
"eslint": "8.6.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jest": "25.3.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-unicorn": "40.0.0",
"file-system": "2.2.2",
"husky": "7.0.4",
"jest": "27.4.7",
"jq-cli-wrapper": "1.6.1",
"js-beautify": "1.14.0",
"lerna": "4.0.0",
"lerna-changelog": "2.2.0",
"lint-staged": "12.1.6",
"ncp": "2.0.0",
"netlify-cli": "8.6.12",
"node-fetch": "3.1.1",
"npm-run-all": "4.1.5",
"patch-package": "6.4.7",
"prettier": "2.5.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"rimraf": "3.0.2",
"twing": "2.3.7",
"twing-loader": "2.0.2",
"webpack": "4.44.2"
},
"lint-staged": {
"*.{md,mdx,html,json,yml}": [
"prettier --write"
],
"*.js": [
"prettier --write",
"eslint"
]
},
"workspaces": [
"src/ec/packages/*",
"src/eu/packages/*",
"utils/*",
"php/ec",
"php/eu",
"php/php-storybook",
"src/ec/storybook",
"src/eu/storybook"
],
"jest": {
"verbose": true,
"testEnvironment": "jsdom"
},
"resolutions": {
"braces": "^3.0.2",
"tunnel-agent": "^0.6.0",
"decompress": "^4.2.1 ",
"bl": "^5.0.0",
"semver": "^7.3.4",
"ssri": "^8.0.1",
"merge": "^2.1.1",
"trim-newlines": ">=3.0.1 <4.0.0 || >=4.0.1 ",
"glob-parent": ">=5.1.2",
"path-parse": ">=1.0.7",
"tar": ">=3.2.3 <4.0.0 || >=4.4.15 <5.0.0 || >=5.0.7 <6.0.0 || >=6.1.2",
"lodash.template": ">=4.5.0",
"trim": ">=0.0.3",
"immer": ">=9.0.6"
}
}