forked from atlassian-labs/json-schema-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
133 lines (133 loc) · 5.62 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
129
130
131
132
133
{
"name": "@kickstartds/json-schema-viewer",
"version": "2.0.1",
"description": "A website that allows for the viewing of JSON Schemas.",
"license": "Apache-2.0",
"author": "Jonas Ulrich <[email protected]>",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "webpack serve -c webpack.dev.js",
"lint": "tsc --noEmit",
"test": "jest",
"prepare": "npm run gen-schema",
"build-dev": "webpack -c webpack.dev.js",
"build-prod": "webpack -c webpack.prod.js",
"build": "rm -fr dist && webpack -c webpack.prod.js",
"clean": "rm -rf *.zip source/witch/nodejs/node_modules/",
"pack-witch": "cd aws/witch && npm install --prefix nodejs mime-types && cp witch.js nodejs/node_modules/ && zip -r ../../witch.zip nodejs",
"pack-secured-headers": "cd aws/secured-headers/ && zip -r ../../s-headers.zip index.js",
"pack-website": "cd dist && zip -r ../website.zip *",
"package-all": "run-p pack-witch pack-secured-headers pack-website",
"package-build": "run-s clean package-all",
"aws-package": "aws cloudformation package --template-file templates/main.yaml --s3-bucket json-schema-viewer-cloudformation --output-template-file packaged.template",
"aws-deploy": "aws --region us-east-1 cloudformation deploy --stack-name json-schema-viewer --template-file packaged.template --capabilities CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --parameter-overrides DomainName=json-schema.app SubDomain=www CreateApex=yes",
"build-and-deploy": "run-s build package-build aws-package aws-deploy",
"upload": "aws s3 sync --profile AdministratorAccess-110055367801 --cache-control \"max-age=31536000\" --exclude 'index.html' --delete dist s3://json-schema-viewer-customresourcesta-s3bucketroot-vjmtja1bzua1 && aws s3 cp --profile AdministratorAccess-110055367801 --cache-control \"max-age=300\" dist/index.html s3://json-schema-viewer-customresourcesta-s3bucketroot-vjmtja1bzua1",
"build-and-upload": "run-s build upload",
"cloudfront-invalidate": "aws cloudfront create-invalidation --distribution-id E2LM6EIHUKJUXG --paths '/*' | cat",
"check-invalidate": "aws cloudfront get-invalidation --distribution-id E2LM6EIHUKJUXG --id",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"gen-schema": "json2ts json-schema.draft-07.json > src/schema.ts",
"lib": "rollup -c",
"prepublishOnly": "yarn lib"
},
"dependencies": {},
"devDependencies": {
"@atlaskit/atlassian-navigation": "^0.12.5",
"@atlaskit/breadcrumbs": "^10.1.0",
"@atlaskit/button": "^15.1.4",
"@atlaskit/code": "^13.1.1",
"@atlaskit/css-reset": "^6.0.5",
"@atlaskit/empty-state": "^7.1.5",
"@atlaskit/icon": "^21.2.0",
"@atlaskit/logo": "^13.0.7",
"@atlaskit/lozenge": "^10.1.0",
"@atlaskit/menu": "^0.7.0",
"@atlaskit/popup": "^1.0.6",
"@atlaskit/spinner": "^15.0.6",
"@atlaskit/table": "^0.4.6",
"@atlaskit/tabs": "^12.1.2",
"@atlaskit/textfield": "^5.0.0",
"@atlaskit/theme": "^12.5.4",
"@atlaskit/tokens": "^0.2.1",
"@atlaskit/tooltip": "^17.1.2",
"@babel/core": "^7.22.5",
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@babel/plugin-transform-runtime": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@compiled/babel-plugin": "^0.19.1",
"@monaco-editor/react": "^4.5.1",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"@storybook/addon-actions": "^7.0.22",
"@storybook/addon-essentials": "^7.0.22",
"@storybook/addon-links": "^7.0.22",
"@storybook/cli": "^7.0.22",
"@storybook/react-webpack5": "^7.0.22",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^11.2.7",
"@types/jest": "^29.5.2",
"@types/js-yaml": "^4.0.0",
"@types/react": "^16.8",
"@types/react-copy-to-clipboard": "^5.0.0",
"@types/react-dom": "^16.8",
"@types/react-router-dom": "^5.1.7",
"@types/throttle-debounce": "^2.1.0",
"babel-jest": "^29.5.0",
"babel-loader": "^8.2.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"csp-html-webpack-plugin": "^5.1.0",
"css-loader": "^5.0.1",
"favicons": "^7.1.3",
"favicons-webpack-plugin": "^6.0.0",
"html-webpack-plugin": "^5.5.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"js-yaml": "^4.0.0",
"json-schema-to-typescript": "^10.1.2",
"jsonpointer": "^4.1.0",
"monaco-editor": "^0.39.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"react": "^16.8",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.8",
"react-markdown": "^8.0.7",
"react-router-dom": "^5.2.0",
"rehype-raw": "^6.1.1",
"rehype-sanitize": "^5.0.1",
"rollup": "^3.29.4",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-node-externals": "^6.1.1",
"rollup-plugin-polyfill-node": "^0.12.0",
"rollup-plugin-styles": "^4.0.0",
"rollup-plugin-ts": "^3.4.5",
"storybook": "^7.0.22",
"style-loader": "^2.0.0",
"styled-components": "^3.2.6",
"throttle-debounce": "^3.0.1",
"ts-is-present": "^1.2.1",
"typescript": "^5.1.3",
"webpack": "^5.87.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-merge": "^5.7.3"
},
"peerDependencies": {
"@monaco-editor/react": "^4.5",
"react": "^16.8 || ^17 || ^18.2",
"react-dom": "^16.8 || ^17 || ^18.2",
"react-router-dom": "^5.2",
"styled-components": "^3.2.6"
}
}