forked from finos/legend-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 7.03 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
121
122
123
124
125
126
{
"name": "legend-studio",
"private": true,
"type": "module",
"workspaces": [
"packages/*",
"fixtures/*",
"scripts/github-bot"
],
"scripts": {
"build": "yarn clean && npm-run-all build:ts build:sass",
"build:doc": "yarn typedoc",
"build:sass": "node ./scripts/workflow/buildSassAll.js --compressed",
"build:ts": "tsc --build tsconfig.build.json",
"build:website": "rimraf \"build/docs\" && yarn build:doc && node ./scripts/website/prepareSiteContent.js",
"changeset": "node ./scripts/workflow/generateChangeset.js",
"changeset:branch": "node ./scripts/workflow/generateChangeset.js --branch",
"changeset:cli": "changeset",
"check:changeset": "node ./scripts/workflow/checkChangesets.js",
"check:ci": "yarn check:pkg && yarn check:ts && yarn check:format && yarn check:copyright && yarn check:changeset",
"check:copyright": "node ./scripts/copyright/checkCopyrightHeaders.js",
"check:format": "prettier --list-different \"(scripts|docs)/**/*.{md,json,mjs,cjs,js,ts,tsx,html,scss,css}\" \"packages/*/**/*.{md,json,mjs,cjs,js,ts,tsx,html,scss,css}\" && yarn sort-package-json --check \"package.json\" \"packages/*/package.json\"",
"check:pkg": "yarn constraints && echo \"Checking for circular dependencies...\" && yarn workspaces foreach --topological-dev --all exec \"echo '' >/dev/null\" && node ./scripts/workflow/checkPackageManifests.js",
"check:ts": "tsc --build && node ./scripts/workflow/checkProjectReferenceConfigs.js",
"check:update": "yarn upgrade-interactive",
"clean": "rimraf \"build\" && node ./scripts/workflow/clean.js",
"clean:cache": "rimraf \"build\" && node ./scripts/workflow/clean.js --cache && yarn jest --clearCache",
"dev": "yarn dev:studio",
"dev:assemblage": "node ./scripts/workflow/setupLocalDevAssemblage.js",
"dev:mock-server": "yarn workspace @finos/legend-fixture-mock-server dev",
"dev:pure": "yarn workspace @finos/legend-application-pure-ide-deployment dev",
"dev:repl": "yarn workspace @finos/legend-application-repl-deployment dev",
"dev:query": "yarn workspace @finos/legend-application-query-deployment dev",
"dev:sass": "node ./scripts/workflow/buildSassAll.js --watch",
"dev:showcase-server": "yarn workspace @finos/legend-server-showcase-deployment dev",
"dev:studio": "yarn workspace @finos/legend-application-studio-deployment dev",
"dev:ts": "tsc --build --watch",
"dev:website": "npx http-server ./build/docs -p 3000 -a localhost -g --cors -o",
"fix": "yarn fix:copyright && yarn fix:style && yarn fix:js && yarn fix:format",
"fix:pkg": "rimraf \"yarn.lock\" && yarn install",
"fix:copyright": "node ./scripts/copyright/checkCopyrightHeaders.js --update",
"fix:format": "prettier --write --loglevel=warn \"(scripts|docs)/**/*.{md,json,mjs,cjs,js,ts,tsx,html,scss,css}\" \"packages/*/**/*.{md,json,mjs,cjs,js,ts,tsx,html,scss,css}\" && yarn sort-package-json \"package.json\" \"packages/*/package.json\"",
"fix:js": "cross-env NODE_ENV=production FORCE_COLOR=1 eslint --cache --cache-location ./build/.eslintcache \"scripts/**/*.{mjs,cjs,js,ts,tsx}\" --report-unused-disable-directives --fix && cross-env FORCE_COLOR=1 yarn workspaces foreach --all --parallel --exclude legend-studio --verbose run lint:js --fix",
"fix:style": "yarn lint:style --fix",
"git:install-hooks": "husky install",
"git:pre-commit": "lint-staged --config ./package.json",
"git:upstream:setup": "git remote add upstream https://github.com/finos/legend-studio.git",
"git:upstream:sync": "git pull --rebase upstream",
"info:env": "node ./scripts/workflow/checkEnvInfo.js",
"postinstall": "husky install",
"lint": "yarn lint:js && yarn lint:style",
"lint:ci": "yarn lint:js --max-warnings=0 && yarn lint:style --max-warnings=0",
"lint:js": "cross-env NODE_ENV=production FORCE_COLOR=1 eslint --cache --cache-location ./build/.eslintcache \"scripts/**/*.{mjs,cjs,js,ts,tsx}\" --report-unused-disable-directives && cross-env FORCE_COLOR=1 yarn workspaces foreach --all --parallel --exclude legend-studio --verbose run lint:js",
"lint:style": "stylelint --cache --cache-location ./build/.stylelintcache \"packages/*/style/**/*.{scss,css}\" \"packages/*/scss/**/*.scss\"",
"publish:local-snapshot": "yarn workspaces foreach --all --no-private --parallel --verbose run publish:pre-prepare && cross-env FORCE_COLOR=1 yarn workspaces foreach --all --no-private --parallel --verbose run publish:prepare --pack",
"publish:prepare": "cross-env FORCE_COLOR=1 yarn build && yarn workspaces foreach --all --no-private --parallel --verbose run publish:pre-prepare && cross-env FORCE_COLOR=1 yarn workspaces foreach --all --no-private --parallel --verbose run publish:prepare",
"publish:snapshot": "yarn publish:prepare && yarn workspaces foreach --all --no-private --parallel --verbose run publish:pre-prepare && cross-env FORCE_COLOR=1 yarn workspaces foreach --all --no-private --parallel --verbose run publish:snapshot",
"release": "yarn publish:prepare && changeset publish",
"release:bump": "node ./scripts/release/createVersionBumpChangeset.js",
"release:version": "changeset version && yarn install && yarn fix:format",
"setup": "yarn install && node ./scripts/workflow/checkNodeVersion.js && yarn git:install-hooks && yarn workspaces foreach --all --parallel --verbose run setup && yarn build",
"start": "yarn dev",
"test": "jest",
"test:ci": "node --max-old-space-size=4096 ./node_modules/jest/bin/jest.js --coverage --maxWorkers=100%",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand",
"test:report-failure": "jest 2>&1 | grep 'FAIL'",
"test:watch": "jest --watch"
},
"lint-staged": {
"*.{html,md,mdx}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"prettier --write"
],
"*.{scss,css}": [
"stylelint --cache --cache-location ./build/.stylelintcache --fix",
"prettier --write"
],
"package.json": [
"sort-package-json"
]
},
"browserslist": [
"last 2 Chrome versions"
],
"resolutions": {
"glob-parent": "^6.0.1"
},
"devDependencies": {
"@actions/core": "1.10.1",
"@actions/github": "6.0.0",
"@babel/core": "7.23.2",
"@changesets/cli": "2.26.2",
"@finos/babel-preset-legend-studio": "workspace:*",
"@finos/eslint-plugin-legend-studio": "workspace:*",
"@finos/legend-dev-utils": "workspace:*",
"@finos/stylelint-config-legend-studio": "workspace:*",
"@types/node": "20.8.8",
"chalk": "5.3.0",
"cross-env": "7.0.3",
"envinfo": "7.10.0",
"eslint": "8.52.0",
"fs-extra": "11.1.1",
"husky": "8.0.3",
"inquirer": "9.2.11",
"jest": "29.7.0",
"lint-staged": "15.0.2",
"micromatch": "4.0.5",
"npm-run-all": "4.1.5",
"prettier": "3.0.3",
"rimraf": "5.0.5",
"sass": "1.69.4",
"semver": "7.5.4",
"sort-package-json": "2.6.0",
"stylelint": "15.11.0",
"typedoc": "0.25.2",
"typescript": "5.2.2",
"yargs": "17.7.2"
},
"packageManager": "yarn@4.0.0",
"engines": {
"node": ">=20.0.0",
"yarn": ">=1.22.10"
}
}