-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
88 lines (88 loc) · 3.24 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
{
"private": true,
"workspaces": [
"packages/*",
"examples/*"
],
"lint-staged": {
"*.ts*": [
"eslint --fix"
]
},
"engines": {
"node": ">=18.0.0"
},
"browserslist": [
"extends @anansi/browserslist-config"
],
"scripts": {
"postinstall": "husky && yarn workspace \"@anansi/webpack-config\" run build",
"changelog": "run lerna version",
"release": "yarn workspaces foreach -Wtiv --no-private npm publish --access public --tolerate-republish",
"build": "yarn workspaces foreach -Wt --no-private run build",
"dev": "yarn workspaces foreach -Wpi --no-private run dev",
"lint": "eslint packages/*/src",
"format": "eslint --fix packages/*/src",
"build:types": "tsc --build",
"build:pkg": "run build:types && yarn workspace \"@anansi/webpack-config\" run build && yarn workspaces foreach -Wtv --no-private run build",
"build:clean": "yarn workspaces foreach -Wpi --no-private run build:clean",
"build:sizecompare": "yarn workspace example-typescript build:clean && yarn workspace example-typescript build --env nohash",
"prepack": "run build:pkg",
"version": "yarn install && git add yarn.lock",
"devtest:ci": "yarn workspaces foreach -Wv --include example-react-18 --include example-linaria run devtest:ci",
"g:babel": "cd $INIT_CWD && babel --root-mode upward src --source-maps inline --extensions '.ts,.tsx,.cts,.js' --ignore '**/__tests__/**' --ignore '**/*.d.ts'",
"g:webpack": "cd $INIT_CWD && webpack",
"g:rimraf": "cd $INIT_CWD && rimraf",
"g:clean": "cd $INIT_CWD && rimraf lib dist ts3.4 legacy *.tsbuildinfo",
"g:tsc": "cd $INIT_CWD && tsc",
"g:test": "cd $INIT_CWD && jest",
"g:lint": "cd $INIT_CWD && eslint --ext .ts,.tsx",
"g:devtest": "cd $INIT_CWD && WAIT_ON_TIMEOUT=40000 start-server-and-test"
},
"devDependencies": {
"@anansi/babel-preset": "workspace:*",
"@anansi/browserslist-config": "workspace:*",
"@anansi/eslint-plugin": "workspace:*",
"@babel/cli": "7.24.6",
"@babel/core": "7.24.6",
"@commitlint/cli": "18.6.1",
"@commitlint/config-conventional": "18.6.2",
"@lerna-lite/cli": "3.4.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"babel-loader": "9.1.3",
"babel-plugin-module-resolver": "5.0.2",
"babel-plugin-root-import": "6.6.0",
"conventional-changelog-anansi": "0.2.0",
"conventional-changelog-conventionalcommits": "6.1.0",
"eslint": "8.57.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.2",
"husky": "9.0.11",
"jest": "^29.5.0",
"lint-staged": "15.2.4",
"prettier": "3.2.5",
"rimraf": "^5.0.0",
"start-server-and-test": "^2.0.0",
"typescript": "5.4.5",
"webpack": "5.91.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
"resolutions": {
"normalize-url": "^6"
},
"dependencies": {
"@lerna-lite/publish": "^3.0.0",
"@lerna-lite/version": "^3.0.0",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"packageManager": "[email protected]"
}