mirror of https://github.com/artifacthub/hub.git
107 lines
3.6 KiB
JSON
107 lines
3.6 KiB
JSON
{
|
|
"name": "hub",
|
|
"version": "1.16.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@analytics/google-analytics-v3": "^0.6.1",
|
|
"analytics": "^0.8.9",
|
|
"apexcharts": "^3.45.1",
|
|
"bootstrap": "^5.3.2",
|
|
"classnames": "^2.5.1",
|
|
"codemirror": "^5.65.15",
|
|
"codemirror-rego": "^1.2.2",
|
|
"crypto-js": "^4.2.0",
|
|
"diff": "^5.0.0",
|
|
"emoji-js": "^3.8.0",
|
|
"json-schema-merge-allof": "^0.8.1",
|
|
"lodash": "^4.17.21",
|
|
"moment": "^2.30.1",
|
|
"nanoid": "^4.0.2",
|
|
"react": "^18.1.0",
|
|
"react-apexcharts": "^1.4.1",
|
|
"react-codemirror2": "^7.3.0",
|
|
"react-color": "^2.19.3",
|
|
"react-diff-view": "3.0.2",
|
|
"react-dom": "^18.1.0",
|
|
"react-icons": "^4.12.0",
|
|
"react-image-crop": "^10.1.8",
|
|
"react-markdown": "^8.0.7",
|
|
"react-router-dom": "^6.21.1",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"regexify-string": "^1.0.17",
|
|
"remark-gfm": "^3.0.1",
|
|
"remark-parse": "^10.0.2",
|
|
"remark-strip-html": "^1.0.2",
|
|
"remark-unlink": "^4.0.1",
|
|
"semver": "^7.5.4",
|
|
"tinycolor2": "^1.6.0",
|
|
"ua-parser-js": "^1.0.37",
|
|
"unified": "^10.1.2",
|
|
"yaml": "^2.3.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
"@testing-library/jest-dom": "^6.2.0",
|
|
"@testing-library/react": "13.4.0",
|
|
"@testing-library/react-hooks": "^8.0.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/bootstrap": "^5.2.10",
|
|
"@types/crypto-js": "^4.1.3",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/json-schema": "^7.0.14",
|
|
"@types/json-schema-merge-allof": "^0.6.5",
|
|
"@types/lodash": "^4.14.202",
|
|
"@types/node": "^20.10.7",
|
|
"@types/react": "^18.2.47",
|
|
"@types/react-color": "^3.0.11",
|
|
"@types/react-dom": "^18.2.18",
|
|
"@types/react-syntax-highlighter": "^15.5.11",
|
|
"@types/semver": "^7.5.6",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.1.2",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"jest-mock": "^29.7.0",
|
|
"prettier": "^3.1.1",
|
|
"react-scripts": "^5.0.1",
|
|
"sass": "^1.69.7",
|
|
"shx": "^0.3.4",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"proxy": "http://localhost:8000",
|
|
"scripts": {
|
|
"copy:static": "shx rm -rf src/static && shx mkdir src/static && shx cp -r public/static/* src/static",
|
|
"start": "yarn copy:static && DANGEROUSLY_DISABLE_HOST_CHECK=true react-scripts start",
|
|
"build": "yarn copy:static && INLINE_RUNTIME_CHUNK=false IMAGE_INLINE_SIZE_LIMIT=0 react-scripts build",
|
|
"test": "sed -i -e 's/const FORCE_EXIT_DELAY = 500;/const FORCE_EXIT_DELAY = 1000;/g' ./node_modules/jest-worker/build/base/BaseWorkerPool.js && TZ=UTC react-scripts test # See https://github.com/facebook/jest/issues/11354",
|
|
"test:coverage": "TZ=UTC react-scripts test --coverage --watchAll=false",
|
|
"eject": "react-scripts eject",
|
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
|
|
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx src --fix",
|
|
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
|
|
"format:diff": "prettier --list-different \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
|
|
"isready": "yarn format && yarn lint && yarn test --watchAll=false --passWithNoTests --verbose && yarn build"
|
|
},
|
|
"browser": {
|
|
"http": false,
|
|
"https": false
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"jest": {
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!remark-parse)/"
|
|
]
|
|
}
|
|
}
|