forked from stoplightio/elements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 5.6 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
{
"name": "root",
"private": true,
"homepage": "https://github.com/stoplightio/elements",
"bugs": "https://github.com/stoplightio/elements/issues",
"author": "Stoplight <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/stoplightio/elements"
},
"license": "Apache-2.0",
"workspaces": [
"demo",
"packages/*"
],
"devDependencies": {
"@babel/core": "^7.17.9",
"@babel/preset-env": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@stoplight/eslint-config": "2.1.0",
"@storybook/addon-controls": "7.5.3",
"@storybook/addon-docs": "7.5.3",
"@storybook/addon-styling-webpack": "0.0.5",
"@storybook/addon-toolbars": "7.5.3",
"@storybook/addon-viewport": "7.5.3",
"@storybook/addons": "7.5.3",
"@storybook/react": "7.5.3",
"@storybook/react-webpack5": "7.5.3",
"@storybook/theming": "7.5.3",
"@testing-library/cypress": "^7.0.3",
"@typescript-eslint/eslint-plugin": "4.28.4",
"@typescript-eslint/parser": "4.28.4",
"browserslist": "^4.21.5",
"concurrently": "6.1.0",
"css-loader": "6.7.1",
"cssnano": "5.0.6",
"eslint": "7.31.0",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jest": "24.4.0",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-storybook": "^0.6.15",
"jest": "^26.6.3",
"jest-environment-jsdom": "^26.3.1",
"jest-environment-jsdom-global": "^4.0.0",
"jest-junit": "12.2.0",
"lerna": "^7.4.2",
"postcss": "8.4.31",
"postcss-cli": "8.3.1",
"postcss-import": "14.0.2",
"postcss-loader": "6.1.1",
"prettier": "2.3.2",
"process": "0.11.10",
"react": "16.14.0",
"react-dom": "16.14.0",
"start-server-and-test": "^2.0.0",
"storybook": "7.5.3",
"style-loader": "^3.3.3",
"ts-jest": "^26.4.5",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typescript": "4.7.4",
"webpack": "5.76.1",
"webpack-cli": "4.7.2",
"webpack-dev-server": "4.15.1"
},
"scripts": {
"demo": "yarn workspace @stoplight/elements-demo",
"elements": "yarn workspace @stoplight/elements",
"elements-core": "yarn workspace @stoplight/elements-core",
"elements-dev-portal": "yarn workspace @stoplight/elements-dev-portal",
"build": "yarn workspace @stoplight/elements-core build && concurrently -n elements,dev-portal \"yarn workspace @stoplight/elements build\" \"yarn workspace @stoplight/elements-dev-portal build\"",
"build.docs": "yarn workspace @stoplight/elements build.docs",
"postbuild": "yarn workspace @stoplight/elements test.packaging && yarn workspace @stoplight/elements-core test.packaging && yarn workspace @stoplight/elements-dev-portal test.packaging",
"lint": "eslint '{packages,examples}/*/src/**/*.{ts,tsx}'",
"version": "lerna version --no-push",
"release": "lerna publish from-package --yes --registry https://registry.npmjs.org",
"release.docs": "yarn workspace @stoplight/elements release.docs",
"type-check": "yarn workspaces run type-check",
"test": "yarn workspace @stoplight/elements test && yarn workspace @stoplight/elements-core test && yarn workspace @stoplight/elements-dev-portal test --passWithNoTests",
"test.prod": "yarn workspace @stoplight/elements test.prod && yarn workspace @stoplight/elements-core test.prod && yarn workspace @stoplight/elements-dev-portal test.prod --passWithNoTests",
"prepublishOnly": "yarn build",
"/// examples ///": "",
"copy:angular": "mkdir examples-dev ; cp -a -v ./examples/angular ./examples-dev ; sh ./use-local-elements.sh angular",
"build:angular": "(cd ./examples-dev/angular && yarn reinstall && yarn build)",
"serve:angular": "(cd ./examples-dev/angular && yarn serve)",
"copy:react-gatsby": "mkdir examples-dev ; cp -a -v ./examples/react-gatsby ./examples-dev ; sh ./use-local-elements.sh react-gatsby",
"build:react-gatsby": "(cd ./examples-dev/react-gatsby && yarn reinstall && yarn build)",
"serve:react-gatsby": "(cd ./examples-dev/react-gatsby && yarn serve)",
"copy:react-cra": "mkdir examples-dev ; cp -a -v ./examples/react-cra ./examples-dev ; sh ./use-local-elements.sh react-cra",
"build:react-cra": "(cd ./examples-dev/react-cra && yarn reinstall && yarn build)",
"serve:react-cra": "(cd ./examples-dev/react-cra && yarn serve)",
"copy:static-html": "mkdir examples-dev ; cp -a -v ./examples/static-html ./examples-dev ; sh ./use-local-elements.sh static-html",
"build:static-html": "(cd ./examples-dev/static-html && yarn reinstall && yarn build)",
"serve:static-html": "(cd ./examples-dev/static-html && yarn serve)",
"/// e2e ///": "",
"e2e:open": "cypress open",
"e2e:execute": "cypress run",
"e2e:run:angular": "start-server-and-test serve:angular http://localhost:4200 e2e:execute",
"e2e:run:react-gatsby": "start-server-and-test serve:react-gatsby http://localhost:4200 e2e:execute",
"e2e:run:react-cra": "start-server-and-test serve:react-cra http://localhost:4200 e2e:execute",
"e2e:run:static-html": "start-server-and-test serve:static-html http://localhost:4200 e2e:execute"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"packageManager": "[email protected]"
}