-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
82 lines (82 loc) · 2.98 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
{
"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 --quiet 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",
"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.25.9",
"@babel/core": "7.26.0",
"@commitlint/cli": "18.6.1",
"@commitlint/config-conventional": "18.6.2",
"@lerna-lite/cli": "3.10.0",
"@types/node": "^22.0.0",
"babel-loader": "9.2.1",
"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": "9.14.0",
"globals": "^15.9.0",
"husky": "9.1.6",
"jest": "^29.5.0",
"lint-staged": "15.2.10",
"prettier": "3.3.3",
"rimraf": "^6.0.0",
"start-server-and-test": "^2.0.0",
"typescript": "5.6.3",
"webpack": "5.96.1",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.1.0"
},
"resolutions": {
"normalize-url": "^6"
},
"dependencies": {
"@lerna-lite/publish": "^3.0.0",
"@lerna-lite/version": "^3.0.0",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"packageManager": "yarn@4.5.1"
}