forked from asyncapi/asyncapi-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 3.83 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
{
"name": "@asyncapi/react-component",
"version": "2.4.5",
"private": false,
"description": "A React component for AsyncAPI specification.",
"repository": {
"type": "git",
"url": "git+https://github.com/asyncapi/asyncapi-react"
},
"author": {
"name": "The AsyncAPI maintainers",
"url": "https://www.asyncapi.com"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/asyncapi/asyncapi-react/issues"
},
"keywords": [
"asyncapi",
"asyncapi-specification",
"react",
"reactjs",
"event"
],
"tags": [
"asyncapi",
"asyncapi-specification",
"react",
"reactjs",
"event"
],
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/types/index.d.ts",
"files": [
"/lib",
"/browser",
"/styles",
"./README.md",
"./LICENSE"
],
"sideEffects": [
"./styles/default.css",
"./styles/default.min.css"
],
"scripts": {
"start": "tsc -p tsconfig.esm.json --watch",
"build:dev": "npm run build:esm && npm run build:types && npm run build:styles",
"build:prod": "npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:standalone && npm run build:types && npm run build:styles",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:umd": "cross-env BUILD_MODE=umd webpack",
"build:standalone": "cross-env BUILD_MODE=standalone webpack",
"build:types": "tsc -p tsconfig.types.json",
"build:styles": "npm run build:styles:dev && npm run build:styles:prod",
"build:styles:dev": "cross-env NODE_ENV=production postcss src/styles/default.css -o styles/default.css --verbose",
"build:styles:prod": "cross-env NODE_ENV=production MINIFY_STYLES=true postcss src/styles/default.css -o styles/default.min.css --verbose",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest --detectOpenHandles",
"test:unit:watch": "jest --detectOpenHandles --watch",
"test:e2e:dev": "cypress run",
"test:e2e": "npm run build:standalone && cypress run",
"prepare": "npm run build:dev",
"prepublishOnly": "npm run prepack",
"prepack": "npm run build:prod && cp ../README.md ./README.md && cp ../LICENSE ./LICENSE",
"postpack": "rm -rf ./README.md && rm -rf ./LICENSE",
"get:name": "echo $npm_package_name",
"get:version": "echo $npm_package_version"
},
"dependencies": {
"@asyncapi/avro-schema-parser": "^3.0.24",
"@asyncapi/openapi-schema-parser": "^3.0.24",
"@asyncapi/parser": "^3.3.0",
"@asyncapi/protobuf-schema-parser": "^3.3.0",
"highlight.js": "^10.7.2",
"isomorphic-dompurify": "^2.14.0",
"marked": "^4.0.14",
"openapi-sampler": "^1.2.1",
"react-error-boundary": "^4.1.2",
"use-resize-observer": "^9.1.0"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "^5.9.0",
"@tailwindcss/typography": "^0.4.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^15.0.4",
"@testing-library/user-event": "^12.8.3",
"@types/dompurify": "^3.0.5",
"@types/jest": "^26.0.23",
"@types/marked": "^4.0.1",
"@types/node": "^12.7.2",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"autoprefixer": "^10.2.5",
"cross-env": "^7.0.3",
"cssnano": "^4.1.11",
"cypress": "^7.4.0",
"jest": "^26.0.0",
"node-polyfill-webpack-plugin": "^2.0.1",
"postcss": "^8.2.10",
"postcss-cli": "^8.3.1",
"postcss-import": "^14.0.2",
"postcss-scopify": "^0.1.9",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "^2.1.1",
"ts-jest": "^26.4.1",
"ts-loader": "9.4.4",
"webpack": "5.88.2",
"webpack-bundle-analyzer": "4.9.0",
"webpack-cli": "5.1.4"
},
"publishConfig": {
"access": "public"
}
}