This repository was archived by the owner on Jun 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.94 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
{
"name": "parse-dont-validate",
"description": "Verify the integrity of the data and return it in expected shape. Otherwise throw error or return a specified default value",
"version": "4.1.2",
"license": "MIT",
"main": "build/cjs/index.js",
"module": "build/mjs/index.js",
"types": "build/cjs/index.d.ts",
"react-native": "build/mjs/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./build/cjs/index.js",
"import": "./build/mjs/index.js",
"default": "./build/mjs/index.js"
}
},
"scripts": {
"lint": "eslint src/ test/ -f='stylish' --color",
"format": "prettier --ignore-path .gitignore --write src/ test/",
"format-check": "prettier --ignore-path .gitignore --check src/ test/",
"build-cjs": "tsc -p tsconfig.cjs.json",
"build-mjs": "tsc -p tsconfig.mjs.json && ts-add-js-extension add --dir=build/mjs",
"build": "rm -rf build && pnpm build-cjs && pnpm build-mjs && node-package-helper",
"test": "vitest"
},
"bugs": "https://github.com/P-YNPM/parse-dont-validate/issues",
"repository": {
"type": "git",
"url": "https://github.com/Packer-Man/parse-dont-validate"
},
"files": [
"build"
],
"devDependencies": {
"@poolofdeath20/eslint-config": "^0.1.0",
"@types/node": "^20.1.2",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"eslint": "^8.40.0",
"node-package-helper": "github:GervinFung/node-package-helper",
"prettier": "^2.8.8",
"ts-add-js-extension": "^1.3.3",
"typescript": "^5.0.4",
"vitest": "^0.31.0"
},
"keywords": [
"parse json",
"parse variable",
"validate",
"don't validate",
"parse, don't validate",
"validate json",
"run time typecheck"
]
}