-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
88 lines (88 loc) · 2.2 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
{
"name": "mongoose-update-if-current",
"version": "1.4.0",
"description": "Optimistic concurrency control (OCC) plugin for mongoose",
"main": "lib/index.js",
"typings": "typings/index.d.ts",
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"test": "jest",
"build": "npm run clean && npm run babel",
"ci": "npm run build && npm test -- --coverage --no-cache",
"clean": "del-cli 'lib/**' '!lib'",
"babel": "babel src --out-dir lib --source-maps",
"lint": "eslint src __tests__",
"prepack": "npm run build && npm test",
"postversion": "npm run build && npm run test && git push && git push --tags && npm publish"
},
"repository": {
"type": "git",
"url": "https://github.com/eoin-obrien/mongoose-update-if-current.git"
},
"keywords": [
"mongodb",
"mongoose",
"plugin",
"save",
"concurrency",
"concurrency control",
"optimistic concurrency control",
"versioning"
],
"author": {
"name": "Eoin O'Brien",
"email": "[email protected]",
"url": "https://videtur.io/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/eoin-obrien/mongoose-update-if-current/issues"
},
"homepage": "https://github.com/eoin-obrien/mongoose-update-if-current",
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.9.0",
"@babel/node": "^7.8.7",
"@babel/preset-env": "^7.9.0",
"babel-core": "^6.26.3",
"babel-jest": "^26.0.0",
"del-cli": "^3.0.0",
"eslint": "^7.0.0",
"eslint-config-google": "^0.14.0",
"jest": "^26.0.1",
"mongoose": "^5.9.7",
"uuid": "^8.0.0"
},
"dependencies": {
"core-js": "^3.2.1",
"kareem": "^2.3.0",
"regenerator-runtime": "^0.13.5"
},
"peerDependencies": {
"mongoose": ">=5.0.0"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/__tests__/__setup__.js"
],
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"collectCoverageFrom": [
"src/**/*.js"
],
"coveragePathIgnorePatterns": [
"/__tests__/",
"/node_modules/"
],
"testEnvironment": "node",
"testRegex": "__tests__/.*\\.spec\\.js$",
"moduleFileExtensions": [
"ts",
"js",
"json"
]
}
}