mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-03-31 06:24:00 -04:00
80 lines
2.0 KiB
JSON
80 lines
2.0 KiB
JSON
{
|
|
"name": "unifi-voucher-site",
|
|
"version": "0.0.0",
|
|
"description": "NPM packages for unifi-voucher-site",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "concurrently --kill-others 'npm run frontend' 'npm run backend:dev'",
|
|
"backend:start": "node ./app/server.js",
|
|
"backend:dev": "nodemon -L --watch ./app ./app/server.js",
|
|
"prebuild": "rimraf ./public/dist",
|
|
"build": "cross-env NODE_ENV=production webpack --mode production --config ./_scripts/webpack.config.js",
|
|
"prefrontend": "rimraf ./public/dist",
|
|
"frontend": "webpack --watch --mode development --config ./_scripts/webpack.config.js",
|
|
"lint": "eslint -c ./package.json ./app ./public/js"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0"
|
|
},
|
|
"eslintConfig": {
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module"
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
"rules": {
|
|
"no-console": 0,
|
|
"comma-dangle": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"indent": [
|
|
"error",
|
|
4
|
|
]
|
|
},
|
|
"globals": {
|
|
"site": false,
|
|
"expressConfig": false
|
|
},
|
|
"extends": [
|
|
"eslint:recommended"
|
|
]
|
|
},
|
|
"author": "Glenn de Haan",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@babel/core": "^7.12.10",
|
|
"@babel/preset-env": "^7.12.11",
|
|
"animejs": "^3.2.1",
|
|
"babel-core": "^6.26.3",
|
|
"babel-loader": "^8.2.2",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "^5.0.1",
|
|
"ejs": "^3.1.5",
|
|
"express": "^4.17.1",
|
|
"gsap": "^3.6.0",
|
|
"mini-css-extract-plugin": "^1.3.4",
|
|
"mitt": "^2.1.0",
|
|
"node-sass": "^5.0.0",
|
|
"node-unifi": "^1.3.8",
|
|
"particles.js": "^2.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"sass-loader": "^10.1.1",
|
|
"socket.io": "^3.1.0",
|
|
"socket.io-client": "^3.1.0",
|
|
"uuid": "^8.3.2",
|
|
"webpack": "^5.14.0",
|
|
"webpack-cli": "^4.3.1",
|
|
"webpack-manifest-plugin": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^5.3.0",
|
|
"eslint": "^7.17.0",
|
|
"nodemon": "^2.0.7"
|
|
}
|
|
}
|