-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
107 lines (107 loc) · 3.19 KB
/
package.json
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "mute-bot-storage",
"version": "2.3.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node server.js",
"dev": "nodemon --watch src -e js,ts --exec 'npm run build && chmod +x dist/server.js && node dist/server.js --cors --logLevel trace | bunyan'",
"build": "webpack",
"lint": "tslint --fix -p tsconfig.json 'src/**/*.ts' -e 'src/**/*.proto' -e 'src/**/*.d.ts' && prettier --write --list-different 'src/**/*.ts' './*.{ts,js,json,md}' && markdownlint ./*.md -i 'CHANGELOG.md'",
"proto": "pbjs -t static-module -w es6 --no-verify --no-delimited --no-convert src/proto/index.proto -o src/proto/index.es6.js && pbts src/proto/index.es6.js -o src/proto/index.d.ts",
"postproto": "babel --presets env -o src/proto/index.js src/proto/index.es6.js && rm src/proto/index.es6.js",
"cz": "git-cz",
"precommit": "lint-staged && npm run build && git add dist/*",
"commitmsg": "commitlint -e $GIT_PARAMS",
"prerelease": "npm run build && git add dist/*",
"release": "standard-version --no-verify"
},
"files": [
"dist/server.js"
],
"keywords": [
"bot",
"storage",
"peer-network"
],
"author": "",
"engines": {
"node": ">=8.1.4"
},
"license": "AGPL-3.0",
"dependencies": {
"@coast-team/mute-core": "^9.1.2",
"@coast-team/mute-crypto": "^0.4.1",
"bunyan": "^1.8.12",
"commander": "^2.18.0",
"kcors": "^2.2.2",
"koa": "^2.5.2",
"koa-bodyparser": "^4.2.1",
"koa-router": "^7.4.0",
"mongoose": "^5.2.13",
"netflux": "^4.3.1",
"node-webcrypto-ossl": "^1.0.38",
"protobufjs": "^6.8.8",
"rxjs": "^6.3.3",
"text-encoding": "^0.6.4",
"uws": "10.148.1"
},
"devDependencies": {
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"@types/bunyan": "^1.8.4",
"@types/commander": "^2.12.2",
"@types/kcors": "^2.2.3",
"@types/koa": "^2.0.46",
"@types/koa-bodyparser": "^5.0.1",
"@types/koa-router": "^7.0.31",
"@types/mongoose": "^5.2.11",
"@types/node": "^8.10.29",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"commitizen": "^2.10.1",
"cz-conventional-changelog": "^2.1.0",
"husky": "^0.14.3",
"lint-staged": "^7.2.2",
"markdownlint-cli": "^0.13.0",
"nodemon": "^1.18.4",
"prettier": "^1.14.2",
"standard-version": "^4.4.0",
"ts-loader": "^5.0.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "^3.0.3",
"validate-commit-msg": "^2.11.1",
"webpack": "^4.17.2",
"webpack-cli": "^3.1.0",
"webpack-node-externals": "^1.7.2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"linters": {
"*.md": [
"prettier --write --list-different",
"git add",
"markdownlint -i 'CHANGELOG.md'"
],
"*.ts": [
"tslint --fix -p tsconfig.json -e src/proto/* -e 'src/**/*.d.ts'",
"git add"
],
"*.{ts,json,scss,css}": [
"prettier --write --list-different -e *proto*",
"git add"
]
},
"concurrent": false
}
}