-
Notifications
You must be signed in to change notification settings - Fork 15
/
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.18",
"async": "^2.6.1",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.5",
"babel-jest": "^23.2.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.7.0",
"bases": "^0.2.1",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^5.0.1",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^2.49.3",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-prettier": "^2.6.1",
"flow-bin": "^0.75.0",
"jest": "^23.2.0",
"mongodb-memory-server": "^1.8.0",
"mongoose": "^5.1.7",
"prettier": "^1.13.7",
"rimraf": "^2.6.2",
"semantic-release": "^15.6.1",
"tslint": "^5.10.0",
"typescript": "^2.9.2"
},
"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"
}
}