forked from finos/legend-studio
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
118 lines (118 loc) · 6.12 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
{
"name": "legend-studio",
"private": true,
"type": "module",
"workspaces": [
"packages/*",
"fixtures/*",
"scripts/github-bot"
],
"scripts": {
"build": "yarn clean && yarn workspaces foreach --topological-dev --verbose run build",
"build:sass": "node ./scripts/workflow/buildSassAll.js",
"build:tsc": "tsc --build",
"changeset": "node ./scripts/workflow/generateChangeset.js",
"changeset:cli": "changeset",
"check:changeset": "node ./scripts/workflow/checkChangesets.js",
"check:ci": "yarn check:pkg-constraints && yarn check:project-ref && yarn check:tsc && yarn check:format && yarn check:copyright && yarn check:changeset",
"check:copyright": "node ./scripts/copyright/checkCopyrightHeaders.js",
"check:env-info": "node ./scripts/workflow/checkEnvInfo.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-constraints": "yarn constraints && echo \"Checking for circular dependencies...\" && yarn workspaces foreach --topological-dev exec \"echo '' >/dev/null\"",
"check:project-ref": "node ./scripts/workflow/checkProjectReferenceConfigs.js",
"check:tsc": "yarn build:tsc",
"check:update": "yarn upgrade-interactive",
"clean": "rimraf \"build\" && yarn workspaces foreach --all --topological-dev --parallel --verbose run clean",
"clean:cache": "rimraf \"build\" && yarn workspaces foreach --all --topological-dev --parallel --verbose run clean:cache",
"dev": "yarn dev:studio",
"dev:mock-server": "yarn workspace @finos/legend-fixture-mock-server dev",
"dev:query": "yarn workspace @finos/legend-query-deployment dev",
"dev:sass": "node ./scripts/workflow/buildSassAll.js --watch",
"dev:studio": "yarn workspace @finos/legend-studio-deployment dev",
"dev:taxonomy": "yarn workspace @finos/legend-taxonomy-deployment dev",
"dev:tsc": "tsc --build --watch",
"fix": "yarn fix:copyright && yarn fix:style && yarn fix:js && yarn fix:format",
"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 --topological-dev --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",
"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 --topological-dev --parallel --exclude legend-studio --verbose run lint:js",
"lint:style": "stylelint --cache --cache-location ./build/.stylelintcache \"packages/*/style/**/*.{scss,css}\" \"packages/*/scss/**/*.scss\"",
"publish:prepare": "cross-env FORCE_COLOR=1 yarn build && cross-env FORCE_COLOR=1 yarn workspaces foreach --all --no-private --topological-dev --parallel --verbose run publish:prepare",
"publish:snapshot": "yarn publish:prepare && cross-env FORCE_COLOR=1 yarn workspaces foreach --all --no-private --topological-dev --parallel --verbose run publish:snapshot",
"release": "yarn publish:prepare && changeset publish --no-git-tag",
"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 --topological-dev --verbose run setup && yarn build",
"start": "yarn dev",
"test": "jest",
"test:ci": "yarn build && yarn test:coverage",
"test:coverage": "jest --coverage",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand",
"test:manual": "yarn workspace @finos/legend-manual-tests test:manual",
"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.6.0",
"@actions/github": "5.0.0",
"@babel/core": "7.16.12",
"@changesets/cli": "2.20.0",
"@finos/babel-preset-legend-studio": "workspace:*",
"@finos/eslint-plugin-legend-studio": "workspace:*",
"@finos/legend-dev-utils": "workspace:*",
"@finos/stylelint-config-legend-studio": "workspace:*",
"@types/jest": "27.4.0",
"@types/node": "17.0.10",
"chalk": "5.0.0",
"cross-env": "7.0.3",
"envinfo": "7.8.1",
"eslint": "8.7.0",
"fs-extra": "10.0.0",
"husky": "7.0.4",
"inquirer": "8.2.0",
"jest": "27.4.7",
"lint-staged": "12.3.1",
"micromatch": "4.0.4",
"prettier": "2.5.1",
"rimraf": "3.0.2",
"sass": "1.49.0",
"semver": "7.3.5",
"sort-package-json": "1.53.1",
"stylelint": "14.3.0",
"typescript": "4.5.5",
"yargs": "17.3.1"
},
"engines": {
"node": ">=14.17.1",
"yarn": ">=1.22.10"
},
"packageManager": "[email protected]"
}