65 lines
2.2 KiB
JSON
65 lines
2.2 KiB
JSON
{
|
|
"name": "@latus/user",
|
|
"version": "2.0.0",
|
|
"main": "index.js",
|
|
"author": "cha0s",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "NODE_PATH=./node_modules webpack --mode production",
|
|
"clean": "rm -f yarn.lock && yarn",
|
|
"dev": "NODE_PATH=./node_modules webpack --mode development",
|
|
"forcepub": "npm unpublish --force $(node -e 'const {name, version} = require(`./package.json`); process.stdout.write(`${name}@${version}`)') && npm publish",
|
|
"link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"",
|
|
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
|
|
"test": "NODE_PATH=./node_modules mocha --config ../../config/.mocharc.js",
|
|
"unlink": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['unlink', m]));\" && yarn install --force",
|
|
"watch": "NODE_PATH=./node_modules webpack --watch --mode development"
|
|
},
|
|
"files": [
|
|
"client/components/login.js",
|
|
"index.js",
|
|
"index.js.map",
|
|
"local.js",
|
|
"local.js.map",
|
|
"local/client.js",
|
|
"local/client.js.map",
|
|
"models.js",
|
|
"models.js.map",
|
|
"passport.js",
|
|
"passport.js.map",
|
|
"passport/client.js",
|
|
"passport/client.js.map",
|
|
"session.js",
|
|
"session.js.map"
|
|
],
|
|
"dependencies": {
|
|
"bcrypt": "^5.0.0",
|
|
"debug": "4.3.1",
|
|
"express": "^4.17.1",
|
|
"express-session": "1.17.1",
|
|
"passport": "0.4.1",
|
|
"passport-local": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@latus/db": "^2.0.0",
|
|
"@latus/react": "^2.0.0",
|
|
"@latus/socket": "^2.0.0",
|
|
"@neutrinojs/airbnb-base": "^9.4.0",
|
|
"@neutrinojs/copy": "9.4.0",
|
|
"@neutrinojs/react": "^9.4.0",
|
|
"@neutrinojs/mocha": "^9.4.0",
|
|
"chai": "4.2.0",
|
|
"eslint": "^7",
|
|
"eslint-import-resolver-webpack": "0.13.0",
|
|
"mocha": "^8",
|
|
"neutrino": "^9.4.0",
|
|
"webpack": "^4",
|
|
"webpack-cli": "^3"
|
|
},
|
|
"peerDependencies": {
|
|
"@latus/db": "^2.0.0",
|
|
"@latus/react": "^2.0.0",
|
|
"@latus/socket": "^2.0.0"
|
|
}
|
|
}
|