-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 2.68 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
{
"name": "@trubavuong/seaweedfs",
"version": "3.0.1",
"description": "NodeJS client for SeaweedFS",
"main": "lib/index.js",
"files": [
"bin",
"lib"
],
"scripts": {
"lint": "eslint --max-warnings 0 *.js lib/**/*.js __tests__/**/*.js",
"lint:fix": "eslint --max-warnings 0 --fix *.js lib/**/*.js __tests__/**/*.js",
"nvm": "echo \"export NVM_DIR=\"$HOME/.nvm\"\n[ -s \"$NVM_DIR/nvm.sh\" ] && \\. \"$NVM_DIR/nvm.sh\"\" > ~/.huskyrc",
"test": "SEAWEEDFS_ENDPOINT=http://localhost:3339 jest --detectOpenHandles",
"test:watch": "npm run test -- --watch",
"test:cover": "npm run test -- --no-cache --coverage",
"test:prepare:seaweedfs:master": "mkdir -p __tests__/__dist__ && cd __tests__/__dist__ && SEAWEEDFS_VERSION=2.48 ../../bin/install-seaweedfs.sh && ./weed master -mdir=. -port=3339",
"test:prepare:seaweedfs:volume": "mkdir -p __tests__/__dist__/data && cd __tests__/__dist__ && SEAWEEDFS_VERSION=2.48 ../../bin/install-seaweedfs.sh && ./weed volume -dir=./data -port=3838 -mserver=localhost:3339",
"prepare": "husky install",
"prepublishOnly": "npm run qc",
"qc": "npm run lint && npm run test",
"release": "git push origin && git push origin --tags",
"version:major": "npm run qc && changelog -x release -M && git add CHANGELOG.md && git commit --no-verify -m 'chore: update CHANGELOG' && npm version --no-git-tag-version major && git add package.json package-lock.json && git commit --no-verify -m 'chore: update package.json version'",
"version:minor": "npm run qc && changelog -x release -m && git add CHANGELOG.md && git commit --no-verify -m 'chore: update CHANGELOG' && npm version --no-git-tag-version minor && git add package.json package-lock.json && git commit --no-verify -m 'chore: update package.json version'",
"version:patch": "npm run qc && changelog -x release -p && git add CHANGELOG.md && git commit --no-verify -m 'chore: update CHANGELOG' && npm version --no-git-tag-version patch && git add package.json package-lock.json && git commit --no-verify -m 'chore: update package.json version'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/trubavuong/seaweedfs.git"
},
"keywords": [
"node",
"nodejs",
"seaweedfs"
],
"author": "Vuong Tru",
"license": "MIT",
"bugs": {
"url": "https://github.com/trubavuong/seaweedfs/issues"
},
"homepage": "https://github.com/trubavuong/seaweedfs#readme",
"devDependencies": {
"eslint": "^7.26.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.23.2",
"generate-changelog": "^1.8.0",
"husky": "^6.0.0",
"jest": "^26.6.3"
},
"dependencies": {
"axios": "^0.21.1",
"form-data": "^4.0.0"
}
}