-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
74 lines (74 loc) · 2.76 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
{
"name": "you-are-not",
"version": "1.0.12",
"description": "Runtime type-checking written in TypeScript -- Not is a minimal, blazing fast, intuitive, API-centric, and customisable API payload sanitiser/type-checking/validation/error handing and messaging helper -- all in a small and neat pack.",
"main": "index.js",
"browser": "dist/not.min.js",
"browserslist": "> 1%, last 2 versions",
"engines": {
"node": ">=8.0.0"
},
"directories": {
"test": "test"
},
"scripts": {
"test": "mocha './test/' --recursive --exit -r esm",
"cover": "nyc _mocha -- './test/' --recursive --exit -r esm",
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"browserify": "browserify dist/node/index.js > dist/browser/not.js --standalone Not --global-transform [ babelify --configFile ./.dist.babelrc ] -p [ @jsdevtools/browserify-banner --template \"<%= pkg.name %> v<%= pkg.version %>\n(c) 2020-2021 <%= pkg.author %>\nRelease under <%= pkg.license %> license.\" ]",
"browserify:minify": "browserify dist/node/index.js > dist/browser/not.min.js --standalone Not --global-transform [ babelify --configFile ./.dist.babelrc ] -p tinyify -p [ @jsdevtools/browserify-banner --template \"<%= pkg.name %> v<%= pkg.version %>\n(c) 2020-2021 <%= pkg.author %>\nRelease under <%= pkg.license %> license.\" ]",
"build": "npm run tsc & npm run browserify && npm run browserify:minify",
"prepublishOnly": "npm run build",
"tsc": "tsc",
"dev": "tsc --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/calvintwr/you-are-not.git"
},
"keywords": [
"type",
"typing",
"validate",
"validation",
"check",
"checker",
"checking",
"typescript",
"error",
"not",
"you-are-not"
],
"author": "calvintwr",
"license": "MIT",
"bugs": {
"url": "https://github.com/calvintwr/you-are-not/issues"
},
"homepage": "https://github.com/calvintwr/you-are-not#readme",
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@types/node": "^16.7.10",
"babelify": "^10.0.0",
"browserify": "^16.5.1",
"browserify-banner": "^2.0.4",
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"esm": "^3.2.25",
"mocha": "^7.2.0",
"mocha-lcov-reporter": "^1.3.0",
"nodemon": "^2.0.12",
"nyc": "^15.1.0",
"tinyify": "^2.5.2",
"ts-node": "^10.2.1",
"tslint": "^6.1.3",
"typescript": "^4.3.5"
},
"files": [
"index.js",
"index.d.ts",
"src",
"dist"
],
"dependencies": {}
}