-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 3.11 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
{
"name": "lighter-next",
"version": "0.1.0",
"private": true,
"packageManager": "[email protected]",
"engines": {
"node": ">=16.10.0"
},
"workspaces": {
"packages": [
"packages/*",
"packages/example-strapi/frontend",
"packages/example-strapi/backend"
]
},
"scripts": {
"dev": "yarn workspace example run dev",
"dev:design-system": "yarn workspace design-system run dev",
"dev:example-strapi": "yarn workspace example-strapi run dev",
"dev:styleguide": "yarn workspace @lighting-beetle/lighter-styleguide run dev",
"dev:example-wordpress": "yarn workspace example-wordpress run dev",
"build": "npm-run-all 'build:*'",
"build:hooks": "yarn workspace @lighting-beetle/lighter-hooks run build",
"build:styleguide": "yarn workspace @lighting-beetle/lighter-styleguide run build",
"build:components": "yarn workspace components run build",
"build:example": "yarn workspace example run build",
"build:design-system": "yarn workspace design-system run build",
"build:example-strapi": "yarn workspace example-strapi run build",
"build:example-wordpress": "yarn workspace example-wordpress run build",
"ci:build:styleguide": "npm-run-all build:styleguide",
"ci:build:example": "npm-run-all build:example",
"ci:build:design-system": "npm-run-all build:design-system",
"ci:build:example-wordpress": "npm-run-all build:example-wordpress",
"release": "npm run build && npx changeset publish",
"test": "npm-run-all 'test:*'",
"test:components": "yarn workspace components run test",
"test:hooks": "yarn workspace @lighting-beetle/lighter-hooks run test",
"lint": "eslint .",
"prepare": "husky install",
"pre-push": "tsc --noEmit && lint-staged && yarn test"
},
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@changesets/cli": "^2.17.0",
"@testing-library/dom": "~8.6.0",
"@testing-library/jest-dom": "~5.14.1",
"@testing-library/react": "~12.1.1",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.2",
"@types/node": "~16.10.1",
"@typescript-eslint/eslint-plugin": "~4.32.0",
"@typescript-eslint/parser": "~4.32.0",
"babel-eslint": "~10.1.0",
"babel-jest": "~27.2.3",
"cheerio": "~1.0.0-rc.10",
"cross-spawn": "~7.0.3",
"eslint": "~7.32.0",
"eslint-config-react-app": "~6.0.0",
"eslint-plugin-flowtype": "~6.1.0",
"eslint-plugin-import": "~2.24.2",
"eslint-plugin-jsx-a11y": "~6.4.1",
"eslint-plugin-react": "~7.26.0",
"eslint-plugin-react-hooks": "~4.2.0",
"get-port": "~5.1.1",
"husky": "~7.0.2",
"jest-cli": "~27.2.3",
"lint-staged": "~11.1.2",
"node-fetch": "~3.0.0",
"npm-run-all": "^4.1.5",
"prettier": "~2.6.2",
"tree-kill": "~1.2.2",
"ts-jest": "^27.0.5",
"typescript": "~4.9.5"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --cache --fix",
"prettier --write"
],
"*.{json}": [
"prettier --write"
]
}
}