mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2025-12-18 21:27:43 +00:00
129 lines
3.3 KiB
JSON
129 lines
3.3 KiB
JSON
{
|
|
"name": "jambonz-webapp",
|
|
"description": "A simple provisioning web app for jambonz",
|
|
"version": "0.9.5",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=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.22",
|
|
"@stripe/react-stripe-js": "^2.6.2",
|
|
"@stripe/stripe-js": "^3.2.0",
|
|
"dayjs": "^1.11.10",
|
|
"immutability-helper": "^3.1.1",
|
|
"react": "^18.2.0",
|
|
"react-dnd": "16.0.1",
|
|
"react-dnd-html5-backend": "16.0.1",
|
|
"react-dom": "^18.2.0",
|
|
"react-feather": "^2.0.10",
|
|
"react-router-dom": "^6.22.3",
|
|
"wavesurfer.js": "^7.7.9"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/node": "^20.12.5",
|
|
"@types/react": "^18.2.74",
|
|
"@types/react-dom": "^18.2.24",
|
|
"@types/uuid": "^9.0.8",
|
|
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
"@typescript-eslint/parser": "^7.5.0",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"cors": "^2.8.5",
|
|
"cypress": "^13.7.2",
|
|
"eslint": "^8.19.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
"eslint-plugin-react": "^7.34.1",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"express": "^5.1.0",
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "^16.1.2",
|
|
"nanoid": "^5.1.5",
|
|
"prettier": "^3.2.5",
|
|
"sass": "^1.89.2",
|
|
"serve": "^14.2.5",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.4.4",
|
|
"vite": "^6.4.1"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|