-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 3.21 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
{
"name": "@coopdigital/coop-frontend",
"version": "1.0.0",
"repository": "https://github.com/coopdigital/coop-frontend.git",
"description": "Co-op Frontend and Design System",
"author": "Co-op Digital",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*",
"design-system",
"workbench"
],
"engines": {
"node": "16.x || 17.x"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.14.3",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.14.2",
"@babel/plugin-transform-runtime": "^7.14.3",
"@babel/preset-env": "^7.14.4",
"@babel/preset-react": "^7.16.5",
"@babel/preset-typescript": "^7.13.0",
"@commitlint/cli": "^16.0.1",
"@commitlint/config-conventional": "^16.0.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^13.1.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "12.1.2",
"autoprefixer": "^10.2.6",
"babel-plugin-module-extension": "^0.1.3",
"core-js": "^3.8.3",
"cssnano": "^4.1.10",
"eslint-config-next": "^12.1.4",
"husky": "^7.0.4",
"jest": "^26.6.3",
"lerna": "^4.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.0",
"postcss-calc": "^8.0.0",
"postcss-cli": "^8.3.1",
"postcss-custom-media": "^8.0.0",
"postcss-custom-properties": "^11.0.0",
"postcss-import": "^14.0.2",
"postcss-nesting": "^8.0.1",
"prettier": "^2.2.0",
"rollup": "^2.62.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-rename": "^1.0.1",
"stylelint": "^14.2.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-prettier": "^2.0.0",
"svg-sprite": "^1.5.3",
"typescript": "^4.2.3"
},
"scripts": {
"postinstall": "lerna clean --yes && lerna bootstrap",
"prepare": "husky install",
"lint": "npm-run-all lint:*",
"lint:css": "lerna --ignore design-system exec --stream -- 'stylelint src/**/*.{css,pcss} --fix --allow-empty-input'",
"lint:js": "lerna --ignore design-system exec --stream -- 'eslint src/ contentful/ --ext .cjs,.js,.jsx,.mjs --fix --no-error-on-unmatched-pattern'",
"pretest": "yarn run lint",
"test": "jest --coverage",
"test:watch": "jest --watch --maxWorkers=25%",
"prebuild": "yarn run test",
"build": "npm-run-all build:*",
"build:css": "lerna exec --scope @coopdigital/foundations-* --scope @coopdigital/shared-component-* --stream -- 'postcss src/*.pcss --dir dist/ --ext css'",
"build:js": "lerna exec --scope @coopdigital/foundations-* --scope @coopdigital/shared-component-* --stream -- 'babel src/ --out-dir dist/ --source-maps --config-file ../../babel.config.js'",
"build:foundations": "lerna run --stream --scope @coopdigital/foundations build",
"build:component": "lerna exec --scope @coopdigital/component-* 'rollup --config ../../build/rollup/index.js'",
"workbench:dev": "lerna run --stream --scope workbench dev",
"package:version": "lerna version --conventional-commits --yes",
"publish": "lerna publish from-package --yes --no-verify-access"
},
"dependencies": {}
}