-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
package.json
90 lines (90 loc) · 3.01 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
{
"name": "simpl-schema",
"version": "0.0.0-development",
"description": "A schema validation package that supports direct validation of MongoDB update modifier objects.",
"author": "Eric Dobbertin <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/longshotlabs/simpl-schema.git",
"directory": "package"
},
"bugs": {
"url": "https://github.com/longshotlabs/simpl-schema/issues"
},
"homepage": "https://github.com/longshotlabs/simpl-schema",
"type": "module",
"files": [
"dist",
"LICENSE",
"README.md"
],
"main": "./dist/cjs/main.js",
"module": "./dist/esm/main.js",
"types": "./dist/esm/main.d.ts",
"exports": {
".": {
"import": "./dist/esm/main.js",
"require": "./dist/cjs/main.js"
}
},
"engines": {
"node": ">=14.16",
"npm": ">=8"
},
"browserslist": "> 0.5%, last 2 versions, Firefox ESR, not dead",
"scripts": {
"build": "rm -fr dist/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./scripts/post-build.sh",
"check": "tsc --noEmit",
"lint": "eslint . --ext ts,tsx",
"lint:fix": "eslint . --fix --ext ts,tsx",
"prepublishOnly": "npm run build",
"test": "NODE_NO_WARNINGS=1 mocha",
"test:watch": "npm test -- --watch"
},
"devDependencies": {
"@types/clone": "^2.1.1",
"@types/json-schema": "^7.0.11",
"@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint": "^8.20.0",
"eslint-config-standard-with-typescript": "^22.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-redos": "^4.4.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-you-dont-need-lodash-underscore": "^6.12.0",
"expect": "^29.3.1",
"mocha": "^10.2.0",
"semantic-release": "^22.0.12",
"ts-node": "^10.9.1",
"ts-standard": "^11.0.0",
"typescript": "^4.9.4"
},
"dependencies": {
"clone": "^2.1.2",
"mongo-object": "^3.0.1"
},
"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"
}
}