-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
86 lines (86 loc) · 3.71 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
{
"name": "unigraph-dev",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"packages/default-packages/*"
],
"nohoist": [
"**/unigraph-dev-electron/**"
]
},
"scripts": {
"postinstall": "run-script-os",
"postinstall:linux:darwin": "(mkdir packages/unigraph-dev-explorer/public/vendor/ || true) && (cp -R ./node_modules/monaco-editor/min/vs packages/unigraph-dev-explorer/public/vendor/monaco-editor_at_0.31.1/ || true)",
"postinstall:windows": "pwsh -Command \"mkdir -Force packages/unigraph-dev-explorer/public/vendor/ && Copy-Item ./node_modules/monaco-editor/min/vs -Destination packages/unigraph-dev-explorer/public/vendor/monaco-editor_at_0.31.1/ -Recurse -Force\"",
"backend-build": "yarn workspace unigraph-dev-backend build",
"backend-start": "yarn workspace unigraph-dev-backend start",
"explorer-start": "yarn workspace unigraph-dev-explorer start",
"build-common": "yarn workspace unigraph-dev-common build",
"build-packages": "run-script-os",
"build-packages:linux:darwin": "./scripts/build_default_packages.sh",
"build-packages:windows": "pwsh ./scripts/build_default_packages.ps1",
"build-deps": "run-script-os",
"build-deps:linux:darwin": "yarn build-common && yarn build-packages:linux:darwin",
"build-deps:windows": "yarn build-common && yarn build-packages:windows",
"link-common": "cd packages/unigraph-dev-common && yarn link && cd ../unigraph-dev-explorer && yarn link 'unigraph-dev-common' && cd ../unigraph-dev-backend && yarn link 'unigraph-dev-common'",
"dev": "bash scripts/start_server.sh",
"lint": "yarn eslint . --ext .ts,.tsx",
"prepare-electron": "bash scripts/prepare_for_electron.sh",
"electron-dist": "CI=false; yarn prepare-electron && yarn workspace unigraph-dev-electron dist",
"electron-start": "yarn workspace unigraph-dev-electron start",
"prepare": "husky install",
"test": "lerna run test --scope=unigraph-dev-explorer",
"new-version": "lerna version --conventional-commits --yes",
"diff": "lerna diff"
},
"engines": {
"node": ">=16.0.0",
"npm": "^8.1.2"
},
"devDependencies": {
"@babel/eslint-parser": "^7.13.4",
"@types/jest": "^26.0.20",
"@types/json-stable-stringify": "^1.0.32",
"@types/testing-library__dom": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-eslint": "^10.1.0",
"concurrently": "^8.0.1",
"eslint": "^8.7.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^7.0.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-lodash-fp": "^2.2.0-a1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": ">=6",
"jest": "^26.6.3",
"lerna": "^4.0.0",
"lint-staged": ">=10",
"prettier": "^2.5.1",
"run-script-os": "^1.1.6",
"ts-jest": "^26.5.2",
"typescript": "^4.2.2"
},
"dependencies": {
"eslint-plugin-inclusive-language": "^2.2.0",
"json-stable-stringify": "^1.0.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"schema-utils": "^3.0.0",
"yargs": "^17.0.1"
},
"resolutions": {
"bezier-js": "4.0.3"
},
"version": "0.0.1",
"lint-staged": {
"*.{ts,tsx}": "eslint --cache --fix"
}
}