-
Notifications
You must be signed in to change notification settings - Fork 181
/
package.json
103 lines (103 loc) · 3.24 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
{
"name": "@stoplight/elements-dev-portal",
"version": "1.6.18",
"description": "UI components for composing beautiful developer documentation.",
"keywords": [],
"sideEffects": [
"web-components.min.js",
"src/web-components/**",
"**/*.css"
],
"homepage": "https://github.com/stoplightio/elements",
"bugs": "https://github.com/stoplightio/elements/issues",
"author": "Stoplight <support@stoplight.io>",
"repository": {
"type": "git",
"url": "https://github.com/stoplightio/elements"
},
"license": "Apache-2.0",
"type": "commonjs",
"main": "./dist/index.js",
"module": "./dist/index.esm.js",
"exports": {
"./styles.min.css": "./styles.min.css",
"./web-components.min.js": "./web-components.min.js",
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"files": [
"**/*"
],
"engines": {
"node": ">=14.13"
},
"scripts": {
"build": "yarn version.set && concurrently \"yarn:build.react\" \"yarn:build.webcomponents\"",
"postbuild": "yarn build.styles",
"build.react": "sl-scripts bundle",
"build.webcomponents": "webpack -c ./web-components.config.js",
"build.docs": "build-storybook -c .storybook -o dist-storybook",
"build.styles": "postcss src/styles.css -o dist/styles.min.css",
"version.set": "replace \"appVersion = '.*'\" \"appVersion = '$npm_package_version'\" src/version.ts --silent",
"commit": "git-cz",
"release": "sl-scripts release",
"release.docs": "sl-scripts release:docs",
"release.dryRun": "sl-scripts release --dry-run --debug",
"storybook": "yarn version.set && start-storybook -p 9001",
"test": "jest",
"test.prod": "yarn test --coverage --maxWorkers=2",
"test.update": "yarn test --updateSnapshot",
"test.watch": "yarn test --watch",
"test.packaging": "node --input-type=commonjs -e \"require('./dist/index.js')\" && node --input-type=module -e \"import './dist/index.mjs'\"",
"type-check": "tsc --noEmit"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"dependencies": {
"@fortawesome/free-solid-svg-icons": "^5.10.2",
"@stoplight/elements-core": "~7.5.15",
"@stoplight/markdown-viewer": "^5.4.2",
"@stoplight/mosaic": "^1.16.2",
"@stoplight/path": "^1.3.2",
"@stoplight/types": "^13.0.0",
"classnames": "^2.2.6",
"lodash": "^4.17.19",
"react-query": "^3.15.2",
"react-router-dom": "^5.2.0",
"use-debounce": "^6.0.1"
},
"devDependencies": {
"@stoplight/scripts": "9.2.0",
"@testing-library/dom": "^7.26.5",
"@testing-library/jest-dom": "^5.11.5",
"@testing-library/react": "^11.1.1",
"@testing-library/react-hooks": "^3.4.2",
"@testing-library/user-event": "^12.2.0",
"@types/lodash": "^4.14.149",
"@types/react": "16.9.56",
"@types/react-dom": "16.9.12",
"@types/react-router-dom": "^5.1.5",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-test-renderer": "^16.8.0",
"replace": "^1.2.1",
"resolve-url-loader": "^3.1.2",
"style-loader": "^2.0.0",
"ts-loader": "^8.1.0"
},
"publishConfig": {
"directory": "dist"
},
"release": {
"extends": "@stoplight/scripts/release"
},
"rollup": {
"bundleDeps": [
"use-debounce"
]
}
}