forked from linear/linear
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 3.48 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "linear",
"private": true,
"author": "Linear Orbit, Inc",
"license": "MIT",
"engines": {
"node": ">=12.x",
"yarn": "1.x"
},
"workspaces": [
"./packages/*"
],
"scripts": {
"build:import": "lerna run build:import",
"build:sdk": "lerna run build:sdk",
"build:types": "npx tsc --project tsconfig.check.json",
"build": "run-s generate build:sdk generate:test build:import build:types docs",
"dev": "NODE_ENV=development yarn build",
"docs": "npx md-magic --path './packages/**/README.md' --config ./docs/markdown-magic.config.js",
"generate:clean": "lerna run generate:clean",
"generate:doc": "lerna run build:codegen-doc && lerna run generate:doc",
"generate:sdk": "lerna run build:codegen-sdk && lerna run generate:sdk",
"generate:test": "lerna run build:codegen-test && lerna run generate:test",
"generate": "run-s generate:clean generate:doc generate:sdk",
"lint": "npx eslint --max-warnings 0 --ext .ts,.tsx **/src/*",
"mock": "npx graphql-faker packages/sdk/src/schema.graphql",
"schema": "yarn update:schema",
"test:e2e": "E2E=true yarn test _generated.test",
"test:update": "yarn test -u",
"test:watch": "yarn test --watch",
"test": "npx jest -w 1",
"update:dependencies": "yarn upgrade && lerna run generate:changeset:dependencies",
"update:schema": "lerna run generate:schema && lerna run generate:changeset:schema"
},
"dependencies": {
"@changesets/cli": "^2.14.1",
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^11.0.0",
"@graphql-codegen/cli": "^1.19.1",
"@octokit/core": "^3.2.1",
"@rollup/plugin-typescript": "^8.1.1",
"@types/express": "^4.17.8",
"@types/inquirer": "^7.3.1",
"@types/jest": "^26.0.20",
"@types/lodash": "^4.14.165",
"@types/node-fetch": "^2.5.7",
"@types/ws": "^7.4.1",
"@typescript-eslint/eslint-plugin": "^4.8.0",
"@typescript-eslint/parser": "^4.8.0",
"auto-bind": "^4.0.0",
"body-parser": "^1.20.1",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^30.7.8",
"eslint-plugin-no-null": "^1.0.2",
"express": "^4.17.3",
"get-port": "^5.1.1",
"graphql": "^15.4.0",
"graphql-faker": "2.0.0-rc.25",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lerna": "7.1.4",
"lint-staged": "^10.5.1",
"markdown-magic": "^1.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.4",
"tslib": "^2.1.0",
"typescript": "~4.7.4"
},
"devDependencies": {
"@types/react-transition-group": "~4.4.5"
},
"resolutions": {
"graphql": "^15.4.0"
},
"lint-staged": {
"*.{js,ts,tsx,json,css,yaml}": [
"npx prettier --write **/*.{js,ts,tsx,json,css,yaml}"
],
"*.{js,ts,tsx}": [
"npx eslint --max-warnings 0 --fix -c .eslintrc.precommit.json"
]
},
"husky": {
"hooks": {
"commit-msg": "npx commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npx lint-staged"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"testMatch": [
"**/*.test.ts?(x)"
],
"transform": {
"^.*\\.tsx?$": "ts-jest"
},
"testTimeout": 20000,
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
}
}
}