/
package.json
101 lines (101 loc) 路 2.72 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
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "@brandingbrand/code",
"version": "0.0.0",
"description": "",
"license": "MIT",
"private": true,
"author": "",
"keywords": [],
"main": "index.js",
"workspaces": {
"packages": [
"docs",
"apps/*",
"packages/*"
]
},
"scripts": {
"build": "turbo run build",
"build:docs": "turbo run build --filter='./docs'",
"build:packages": "turbo run build --filter='./packages/*'",
"dev": "turbo run dev --concurrency 100",
"dev:docs": "turbo run dev --filter='./docs' --concurrency 100",
"dev:packages": "turbo run dev --filter='./packages/*' --concurrency 100",
"postinstall": "patch-package",
"prepare": "husky install",
"test": "jest"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,yml}": [
"prettier --write"
],
"package.json": [
"format-package -w"
]
},
"eslintConfig": {
"extends": [
"prettier",
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"prettier",
"@typescript-eslint"
],
"rules": {
"prettier/prettier": [
"error"
],
"no-var": "off",
"no-undef": "off",
"no-control-regex": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-control-regex": "off",
"@typescript-eslint/no-empty-function": "off"
},
"ignorePatterns": [
"**/dist/**"
],
"parser": "@typescript-eslint/parser"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "./packages/core/test/environment/custom-env.ts",
"setupFilesAfterEnv": [
"./packages/core/test/environment/setup-files-after-env.ts"
]
},
"devDependencies": {
"@changesets/cli": "^2.25.2",
"@jest/environment": "^29.4.3",
"@jest/types": "^29.4.3",
"@tsconfig/node16": "^1.0.3",
"@tsconfig/react-native": "^2.0.3",
"@types/jest": "^29.2.2",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"eslint": "^8.25.0",
"eslint-config-eslint": "^7.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jsdoc": "^48.2.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"format-package": "^7.0.0",
"husky": "^8.0.0",
"jest": "^29.4.3",
"jest-environment-node": "^29.4.3",
"lint-staged": "^13.2.0",
"microbundle": "^0.15.1",
"patch-package": "^6.5.1",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"turbo": "^1.8.8",
"typescript": "^4.8.4"
}
}