-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.02 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "Comedy_Engine",
"version": "1.8.5",
"description": "This is where we create jokes for the twitter bot.",
"main": "server.js",
"scripts": {
"audit": "npm audit --audit-level=critical --registry=https://registry.npmjs.org",
"convert:csv": "sh tools/shell/convert-csv.sh",
"convert:json": "node tools/js/json-to-csv.js",
"generate:data": "sh tools/shell/generate-data.sh",
"handle-package": "sh tools/shell/handle-package.sh",
"lint": "eslint './*.js' './**/*.js'",
"lint:fix": "eslint --fix './*.js' 'tools/**/*.js' 'src/**/*.js' 'test/**/*.js'",
"preversion": "npm run audit && npm run test",
"postinstall": "yes | unzip data/json.zip",
"postversion": "npm run handle-package; git commit --amend --no-edit; git push --no-verify",
"setup": "sh tools/shell/setup.sh",
"start": "NODE_ENV=production node server.js",
"start:dev": "DEBUG=express:* NODE_ENV=development nodemon server.js",
"test": "npm run lint && npm run test:unit && npm run test:routes",
"test:routes": "mocha --exit test/routes/**/*spec.js --timeout 3000",
"test:unit": "mocha test/unit/**/*spec.js --timeout 3000",
"train:bots": "sh tools/shell/train-bots.sh"
},
"author": "Tyrone Scafe, Jr.",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/TScafeJR/Comedy-Engine"
},
"dependencies": {
"body-parser": "^1.19.0",
"brain.js": "^2.0.0-alpha.9",
"cookie-parser": "^1.4.4",
"cron": "^1.7.2",
"express": "^4.17.1",
"sentiment": "^5.0.2"
},
"devDependencies": {
"@tscafejr/eslint-config-scafejr": "^1.0.2",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"csvtojson": "^2.0.10",
"eslint": "^6.5.1",
"husky": "^3.0.9",
"mocha": "^6.2.2",
"nodemon": "^1.19.4",
"proxyquire": "^2.1.3",
"semver": "^6.3.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.3.0"
},
"engines": {
"node": "12.11.1",
"npm": "^6.12.0"
},
"husky": {
"hooks": {
"pre-push": "npm run audit && npm run test"
}
}
}