generated from finos/software-project-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 114
/
package.json
130 lines (130 loc) · 7.27 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
127
128
129
130
{
"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",
"changeset:uptick": "node ./scripts/workflow/generateUptickVersionChangeset.js",
"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 -vv run lint:js --fix",
"fix:style": "yarn lint:style --fix",
"fix:watchman": "node ./scripts/test/fixWatchman.js",
"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",
"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 -vv run lint:js",
"lint:style": "stylelint --cache --cache-location ./build/.stylelintcache \"packages/*/style/**/*.{scss,css}\" \"packages/*/scss/**/*.scss\"",
"postinstall": "husky",
"publish:local-snapshot": "yarn workspaces foreach --all --no-private --parallel -vv run publish:pre-prepare && cross-env FORCE_COLOR=1 yarn workspaces foreach --all --no-private --parallel -vv run publish:prepare --pack",
"publish:prepare": "cross-env FORCE_COLOR=1 yarn build && yarn workspaces foreach --all --no-private --parallel -vv run publish:pre-prepare && cross-env FORCE_COLOR=1 yarn workspaces foreach --all --no-private --parallel -vv run publish:prepare",
"publish:snapshot": "yarn publish:prepare && yarn workspaces foreach --all --no-private --parallel -vv run publish:pre-prepare && cross-env FORCE_COLOR=1 yarn workspaces foreach --all --no-private --parallel -vv 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 workspaces foreach --all --parallel -vv run setup && yarn build",
"start": "yarn dev",
"test": "jest",
"test:group": "cross-env TEST_GROUP=$0 jest",
"test:ci": "cross-env TEST_GROUP=$0 node --max-old-space-size=4096 ./node_modules/jest/bin/jest.js --coverage --maxWorkers=100%",
"test:debug": "cross-env TEST_GROUP=$0 node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand",
"test:report-failure": "cross-env TEST_GROUP=$0 jest 2>&1 | grep 'FAIL'",
"test:watch": "jest --watch",
"test:watch:group": "cross-env TEST_GROUP=$0 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.11.1",
"@actions/github": "6.0.0",
"@babel/core": "7.26.0",
"@changesets/cli": "2.27.9",
"@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": "22.9.0",
"chalk": "5.3.0",
"cross-env": "7.0.3",
"envinfo": "7.14.0",
"eslint": "9.14.0",
"fs-extra": "11.2.0",
"husky": "9.1.6",
"inquirer": "12.1.0",
"jest": "29.7.0",
"lint-staged": "15.2.10",
"micromatch": "4.0.8",
"npm-run-all": "4.1.5",
"prettier": "3.3.3",
"prettier-plugin-tailwindcss": "0.6.8",
"rimraf": "6.0.1",
"sass": "1.80.7",
"semver": "7.6.3",
"sort-package-json": "2.10.1",
"stylelint": "16.10.0",
"typedoc": "0.26.11",
"typescript": "5.6.3",
"yargs": "17.7.2"
},
"packageManager": "yarn@4.5.1",
"engines": {
"node": ">=20.0.0",
"yarn": ">=1.22.10"
}
}