forked from finos/legend-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 7.02 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
{
"name": "legend-studio",
"private": true,
"type": "module",
"workspaces": [
"packages/*",
"fixtures/*",
"scripts/github-bot",
"scripts/typedoc-theme"
],
"scripts": {
"build": "yarn clean && npm-run-all build:ts build:sass",
"build:doc": "yarn workspace @finos/legend-internal-typedoc-theme build && 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: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 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\" \"@(fixtures|packages)/**/@(lib|dist|build)\"",
"clean:cache": "rimraf \"build\" \"@(fixtures|packages)/**/build\" && 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:query": "yarn workspace @finos/legend-application-query-deployment dev",
"dev:sass": "node ./scripts/workflow/buildSassAll.js --watch",
"dev:studio": "yarn workspace @finos/legend-application-studio-deployment dev",
"dev:taxonomy": "yarn workspace @finos/legend-application-taxonomy-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",
"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:core": "yarn lint:style --max-warnings=0 && 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 --jobs 4 --exclude legend-studio --exclude \"@finos/legend-extension-*\" --verbose run lint:js --max-warnings=0",
"lint:ci:extension": "cross-env FORCE_COLOR=1 yarn workspaces foreach --all --parallel --jobs 4 --include \"@finos/legend-extension-*\" --verbose run lint:js --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": "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 && cross-env FORCE_COLOR=1 yarn workspaces foreach --all --no-private --parallel --verbose run publish:prepare",
"publish:snapshot": "yarn publish: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": "jest --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.0",
"@actions/github": "5.1.1",
"@babel/core": "7.19.6",
"@changesets/cli": "2.25.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": "18.11.8",
"chalk": "5.1.2",
"cross-env": "7.0.3",
"envinfo": "7.8.1",
"eslint": "8.26.0",
"fs-extra": "10.1.0",
"husky": "8.0.1",
"inquirer": "9.1.4",
"jest": "29.2.2",
"lint-staged": "13.0.3",
"micromatch": "4.0.5",
"npm-run-all": "4.1.5",
"prettier": "2.7.1",
"rimraf": "3.0.2",
"sass": "1.55.0",
"semver": "7.3.8",
"sort-package-json": "2.0.0",
"stylelint": "14.14.0",
"typedoc": "0.23.19",
"typescript": "4.8.4",
"yargs": "17.6.0"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.17.0",
"yarn": ">=1.22.10"
}
}