-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpackage.json
79 lines (79 loc) · 2.32 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
{
"private": true,
"type": "module",
"engines": {
"node": ">=18"
},
"scripts": {
"build": "turbo run build",
"bump-dependencies": "tsx scripts/bump-dependencies.ts upscaler @tensorflow/tfjs",
"clean": "turbo run clean && rimraf '*.log'",
"fix": "turbo run fix && concurrently npm:fix:js npm:fix:json",
"fix:js": "eslint --fix 'scripts/**/*.ts'",
"fix:json": "prettier --loglevel error --write '*.json'",
"lint": "turbo run lint && npm run lint:js",
"lint:js": "eslint 'scripts/**/*.ts'",
"postinstall": "simple-git-hooks && npm run build",
"prepackages-publish": "turbo run fix lint test build",
"packages-publish": "lerna publish from-package",
"reset": "npm run clean && rimraf node_modules package-lock.json './packages/*/node_modules' && npm install",
"test": "turbo run test"
},
"devDependencies": {
"@create-figma-plugin/build": "2.5.0",
"@create-figma-plugin/tsconfig": "2.5.0",
"@figma/plugin-typings": "1.65.0",
"@lerna-lite/cli": "^2.4.1",
"@types/natural-compare-lite": "^1.4.0",
"@typescript-eslint/eslint-plugin": "5.59.7",
"ava": "^5.3.1",
"concurrently": "^8.2.0",
"eslint": "^8.43.0",
"eslint-config-yuanqing": "0.0.8",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "10.0.0",
"eslint-plugin-sort-keys-fix": "1.1.2",
"globby": "^13.1.4",
"lint-staged": "^13.2.2",
"npm-check-updates": "^16.10.12",
"preact": "^10.15.1",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"simple-git-hooks": "^2.8.1",
"stylelint": "^15.8.0",
"stylelint-config-yuanqing": "0.0.4",
"tsx": "^3.12.7",
"turbo": "^1.10.3",
"typescript": "^5.1.3"
},
"eslintConfig": {
"extends": "eslint-config-yuanqing",
"root": true,
"ignorePatterns": [
"*.css.d.ts"
]
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint"
],
"*.css": [
"stylelint",
"prettier"
]
},
"prettier": "eslint-config-yuanqing/prettier",
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"pre-push": "npx turbo run fix lint test build"
},
"stylelint": {
"extends": "stylelint-config-yuanqing"
},
"workspaces": [
"packages/*"
]
}