UNPKG

2.94 kBJSONView Raw
1{
2 "name": "you-are-not",
3 "version": "1.0.10",
4 "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.",
5 "main": "index.cjs",
6 "exports": {
7 "import": "./index.mjs",
8 "require": "./index.cjs"
9 },
10 "browser": "dist/not.min.js",
11 "browserslist": "> 1%, last 2 versions",
12 "engines": {
13 "node": ">=8.0.0"
14 },
15 "directories": {
16 "test": "test"
17 },
18 "scripts": {
19 "test": "mocha './test/' --recursive --exit -r esm",
20 "cover": "nyc _mocha -- './test/' --recursive --exit -r esm",
21 "coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
22 "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.\" ]",
23 "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.\" ]",
24 "build": "npm run tsc & npm run browserify && npm run browserify:minify",
25 "prepublishOnly": "npm run build",
26 "tsc": "tsc",
27 "dev": "tsc --watch"
28 },
29 "repository": {
30 "type": "git",
31 "url": "git+https://github.com/calvintwr/you-are-not.git"
32 },
33 "keywords": [
34 "type",
35 "typing",
36 "validate",
37 "validation",
38 "check",
39 "checker",
40 "checking",
41 "typescript",
42 "error",
43 "not",
44 "you-are-not"
45 ],
46 "author": "calvintwr",
47 "license": "MIT",
48 "bugs": {
49 "url": "https://github.com/calvintwr/you-are-not/issues"
50 },
51 "homepage": "https://github.com/calvintwr/you-are-not#readme",
52 "devDependencies": {
53 "@babel/core": "^7.10.5",
54 "@babel/preset-env": "^7.10.4",
55 "@types/node": "^16.7.10",
56 "babelify": "^10.0.0",
57 "browserify": "^16.5.1",
58 "browserify-banner": "^2.0.4",
59 "chai": "^4.2.0",
60 "coveralls": "^3.1.0",
61 "esm": "^3.2.25",
62 "mocha": "^7.2.0",
63 "mocha-lcov-reporter": "^1.3.0",
64 "nodemon": "^2.0.12",
65 "nyc": "^15.1.0",
66 "tinyify": "^2.5.2",
67 "ts-node": "^10.2.1",
68 "tslint": "^6.1.3",
69 "typescript": "^4.3.5"
70 },
71 "files": [
72 "index.cjs",
73 "index.mjs",
74 "index.d.ts",
75 "src",
76 "dist"
77 ],
78 "dependencies": {}
79}