-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.44 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
{
"name": "badmagic",
"version": "0.0.40",
"description": "Swagger UI alternative written in React",
"scripts": {
"build": "yarn clean && yarn copy-css && tsc -p ./",
"start": "yarn clean && yarn copy-css && tsc --watch",
"clean": "rimraf dist",
"test": "jest",
"test:watch": "jest --watch",
"prepare": "yarn build",
"format-check": "prettier -l 'src/**/*.{ts,tsx,js,json,md}'",
"prettier": "prettier --write 'src/**/*.{ts,tsx,js,json,md}'",
"typecheck": "tsc --noEmit",
"copy-css": "mkdir -p dist/css && postcss ./src/css/markdown.css > ./dist/css/markdown.min.css && cp ./dist/css/markdown.min.css ./example/public",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src test"
},
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/smartrent/badmagic.git"
},
"bugs": {
"url": "https://github.com/smartrent/badmagic/issues"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@types/jest": "^26.0.15",
"@types/lodash-es": "^4.17.3",
"@types/node": "^16.0.0",
"@types/openapi-v3": "^3.0.0",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/yup": "^0.29.14",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"cssnano": "^6.1.2",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"jest": "^29.2.1",
"jest-environment-jsdom": "^29.2.1",
"postcss": "^8.4.39",
"postcss-cli": "^10.1.0",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.0",
"ts-jest": "^29.0.3",
"typescript": "^4.5.2"
},
"peerDependencies": {
"react": ">= 16.8.x",
"react-dom": ">= 16.8.x"
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": false,
"trailingComma": "es5",
"arrowParens": "always"
},
"dependencies": {
"@smartrent/use-axios": "^2.0.0",
"axios": "^0.24.0",
"lodash-es": "^4.17.15",
"querystring": "^0.2.0",
"rc-tooltip": "^5.2.2",
"react-json-view": "^1.19.1",
"react-markdown": "^8.0.3",
"react-native-svg": "^13.4.0",
"react-syntax-highlighter": "^15.5.0",
"svgs": "^4.2.0",
"yup": "^0.32.11"
},
"packageManager": "[email protected]"
}