Files
jambonz-webapp/package.json
2023-06-13 09:03:44 -04:00

128 lines
3.3 KiB
JSON

{
"name": "jambonz-webapp",
"description": "A simple provisioning web app for jambonz",
"version": "0.8.3",
"license": "MIT",
"type": "module",
"engines": {
"node": ">=14.18"
},
"contributors": [
{
"name": "Brandon Lee Kitajchuk",
"email": "bk@kitajchuk.com",
"url": "https://www.kitajchuk.com"
},
{
"name": "Lê Hàn Minh Khang",
"email": "mkhangle20@gmail.com"
},
{
"name": "Dave Horton",
"email": "daveh@drachtio.org",
"url": "https://drachtio.org"
}
],
"scripts": {
"prepare": "husky install",
"postinstall": "rm -rf public/fonts && cp -R node_modules/@jambonz/ui-kit/public/fonts public/fonts",
"start": "npm run dev",
"dev": "vite --port 3001",
"dev:server": "ts-node --esm server/dev.server.ts",
"prebuild": "rm -rf ./dist",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --max-warnings=0",
"format": "prettier --check .",
"test": "cypress run --component --headless",
"test:open": "cypress open --component",
"serve": "serve -s dist -l ${HTTP_PORT:-3001}",
"pm2": "pm2 start npm --name \"jambonz-webapp\" -- run serve",
"deploy": "npm i && npm run build && npm run pm2"
},
"dependencies": {
"@jambonz/ui-kit": "^0.0.21",
"dayjs": "^1.11.5",
"immutability-helper": "^3.1.1",
"react": "^18.0.0",
"react-dnd": "16.0.1",
"react-dnd-html5-backend": "16.0.1",
"react-dom": "^18.0.0",
"react-feather": "^2.0.10",
"react-router-dom": "^6.3.0",
"wavesurfer.js": "^6.6.3"
},
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/node": "^18.6.1",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/uuid": "^9.0.1",
"@types/wavesurfer.js": "^6.0.6",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"@vitejs/plugin-react": "^1.3.0",
"cors": "^2.8.5",
"cypress": "^10.8.0",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"express": "^4.18.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"nanoid": "^4.0.0",
"prettier": "^2.7.1",
"sass": "^1.53.0",
"serve": "^14.0.1",
"ts-node": "^10.9.1",
"typescript": "^4.6.3",
"vite": "^3.0.0"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --max-warnings=0",
"*.{ts,tsx,json,md,html,scss,css,yml}": "prettier --write"
},
"eslintConfig": {
"root": true,
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"prettier"
],
"plugins": [
"@typescript-eslint",
"react-hooks",
"jsx-a11y",
"react"
],
"rules": {
"react/jsx-key": [
"error",
{
"checkFragmentShorthand": true
}
],
"react/prop-types": [
0
],
"@typescript-eslint/no-non-null-assertion": [
0
]
},
"parser": "@typescript-eslint/parser",
"settings": {
"react": {
"version": "detect"
}
},
"ignorePatterns": [
"dist",
"node_modules"
]
}
}