forked from nodkz/mongoose-plugin-autoinc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.81 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
{
"name": "mongoose-plugin-autoinc",
"version": "0.0.0-development",
"description": "This plugin allows you to auto-increment any field on any mongoose schema that you wish (forked mongoose-auto-increment in 2018).",
"files": [
"lib"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/nodkz/mongoose-plugin-autoinc.git"
},
"keywords": [
"mongoose",
"auto-increment",
"mongoose-auto-increment",
"mongoose plugin"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/nodkz/mongoose-plugin-autoinc/issues"
},
"homepage": "https://github.com/nodkz/mongoose-plugin-autoinc",
"peerDependencies": {
"mongoose": ">=4.0.0 || >=5.0.0"
},
"devDependencies": {
"@types/mongoose": "^5.0.1",
"async": "^2.6.0",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-jest": "^22.1.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.13.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"bases": "^0.2.1",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^4.17.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^2.42.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^2.6.0",
"flow-bin": "^0.64.0",
"jest": "^22.1.4",
"mongodb-memory-server": "^1.6.5",
"mongoose": "^5.0.3",
"prettier": "^1.10.2",
"rimraf": "^2.6.2",
"semantic-release": "^12.4.1",
"tslint": "^5.9.1",
"typescript": "^2.7.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"roots": [
"<rootDir>/src"
]
},
"scripts": {
"build": "npm run build-cjs && npm run build-flow-sh && npm run build-ts-sh",
"build-cjs": "rimraf lib && babel src --ignore __tests__,__mocks__ -d lib",
"build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done",
"build-flow-sh": "sh build-flow.sh",
"build-ts": "find ./src -name '*.d.ts' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`; done",
"build-ts-sh": "sh build-ts.sh",
"watch": "jest --watch",
"coverage": "jest --coverage --maxWorkers 2",
"lint": "npm run eslint && npm run tslint && npm run tscheck",
"tslint": "tslint -p . \"src/**/*.d.ts\"",
"eslint": "eslint --ext .js ./src",
"eslint:fix": "eslint --ext .js ./src --fix",
"tscheck": "tsc",
"flow": "./node_modules/.bin/flow",
"test": "npm run coverage && npm run lint && npm run flow",
"semantic-release": "semantic-release"
}
}