forked from longshotlabs/simpl-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
127 lines (127 loc) · 3.77 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@lytesoft/simpl-schema",
"version": "1.0.0",
"description": "A schema validation package that supports direct validation of MongoDB update modifier objects.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lytesoft/simpl-schema-v1",
"directory": "package"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"main": "./dist/main.js",
"browserslist": "> 0.5%, last 2 versions, Firefox ESR, not dead",
"scripts": {
"build": "rm -rf dist/** && babel package/lib --out-dir dist --ignore 'package/lib/**/*.tests.js,package/lib/testHelpers/*'",
"lint": "eslint .",
"lintAndTest": "npm run lint && npm test",
"prepare": "npm run build",
"test": "mocha --require @babel/register --recursive \"package/lib/**/*.tests.js\"",
"test:file": "mocha --require @babel/register --watch",
"test:watch": "npm test -- --watch"
},
"dependencies": {
"clone": "^2.1.2",
"message-box": "^0.2.7",
"mongo-object": "^0.1.4"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-proposal-object-rest-spread": "^7.18.0",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.18.0",
"@babel/register": "^7.17.7",
"babel-core": "7.0.0-bridge.0",
"babel-plugin-add-module-exports": "^1.0.4",
"eslint": "^8.16.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-redos": "^4.4.0",
"eslint-plugin-you-dont-need-lodash-underscore": "^6.12.0",
"expect": "^1.20.1",
"mocha": "^7.1.1",
"semantic-release": "^19.0.2"
},
"babel": {
"presets": [
"@babel/env"
],
"plugins": [
[
"@babel/plugin-proposal-class-properties",
{
"loose": false
}
],
[
"add-module-exports",
{
"addDefaultProperty": true
}
]
]
},
"eslintConfig": {
"extends": [
"airbnb-base",
"plugin:you-dont-need-lodash-underscore/compatible"
],
"parser": "@babel/eslint-parser",
"plugins": [
"redos"
],
"env": {
"es6": true,
"mocha": true,
"shared-node-browser": true
},
"rules": {
"arrow-body-style": 0,
"consistent-return": 0,
"import/no-cycle": 0,
"import/no-extraneous-dependencies": 0,
"max-len": 0,
"no-continue": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-restricted-globals": 0,
"no-underscore-dangle": 0,
"no-useless-escape": 0,
"no-use-before-define": [
2,
"nofunc"
],
"no-unused-expressions": 0,
"no-console": 0,
"redos/no-vulnerable": "error",
"space-before-function-paren": 0
}
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/github",
{
"successComment": ":tada: This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:\n\nThe release is available on:\n- [npm package (@latest dist-tag)](https://www.npmjs.com/package/simpl-schema/v/${nextRelease.version})\n- [GitHub release](https://github.com/aldeed/simpl-schema/releases/tag/${nextRelease.version})\n\nIf this makes you happy, please consider [becoming a sponsor](https://github.com/sponsors/aldeed).\n\nYour **[semantic-release](https://github.com/semantic-release/semantic-release)** bot :package::rocket:"
}
]
],
"tagFormat": "${version}"
},
"publishConfig": {
"access": "public"
}
}