-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 1.9 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
{
"name": "narrow-minded",
"description": "Easy typeof validations with sophisticated TypeScript inference.",
"author": "Sebastian Sangervasi",
"license": "MIT",
"version": "1.2.1",
"keywords": [
"validate",
"narrow",
"typescript",
"typeof",
"predicate",
"schema"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ssangervasi/narrow-minded.git"
},
"type": "module",
"source": "src/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.module.mjs",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"default": "./dist/index.modern.mjs"
},
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">12.0",
"npm": ">6.0"
},
"scripts": {
"build": "rm -rf dist/* && npm run build-web && npm run build-node && npm run docs",
"build-web": "microbundle --target=web --format=modern,esm",
"build-node": "microbundle --target=node --format=cjs",
"docs": "jsdoc -c jsdoc.json",
"lint": "eslint --fix --cache src/**/*.ts tests/**/*.ts",
"jest": "jest --runTestsByPath",
"jest-watch": "jest --watch --runTestsByPath",
"test": "jest tests/*",
"test-watch": "jest --watch tests/*",
"test-packages": "./bin/test-packages",
"watch": "tsc-watch"
},
"devDependencies": {
"@babel/types": "^7.15.0",
"@types/jest": "^24.9.1",
"@types/lodash": "^4.14.172",
"@types/node": "^12.20.19",
"@typescript-eslint/eslint-plugin": "^5.0",
"@typescript-eslint/parser": "^5.0",
"better-docs": "^2.3.2",
"eslint": "^8.34",
"eslint-config-prettier": "^8.3",
"eslint-plugin-prettier": "^4.0",
"jest": "^26.6.3",
"jest-diff": "^26.6.2",
"jsdoc": "^3.6.7",
"lodash": "^4.17.21",
"microbundle": "^0.15.1",
"prettier": "^2.4.1",
"ts-jest": "^26.5.6",
"ts-loader": "^6.2",
"ts-node": "^8.10.2",
"tsc-watch": "^2.4.0",
"tsconfig-paths": "^3.10.1",
"tslint": "^5.20.1",
"typescript": "^4.4.2"
}
}