-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
83 lines (83 loc) · 2.63 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
{
"name": "garn-validator",
"version": "1.3.18",
"description": "Create validations with ease",
"main": "src/index.js",
"type": "commonjs",
"module": "src/index.js",
"browser": "src/index.js",
"files": [
"commonjs/",
"src/"
],
"scripts": {
"format": "deno fmt src",
"lint": "deno lint --unstable src/index.js",
"doc": "deno doc src/index.js",
"run:docker": "docker-compose run node",
"start": "npm run test:watch",
"test": "npm run test:watch",
"test:watch": "jest tests --watch",
"test:raw": "node tests/raw.debug.mjs",
"test:prod": "jest tests",
"test:prod:dom": "jest tests --config=jest.config.dom.js",
"test:deno": "deno test --importmap=import_map.json --allow-all --unstable tests/run-deno-tests.js",
"test:deno:watch": "nodemon --exec npm run test:deno",
"test:raw:deno": "deno run --importmap=import_map.json --unstable tests/deno.raw.js",
"test:raw:deno:ts": "deno run --importmap=import_map.json --unstable tests/deno.raw.ts",
"test:coverage": "jest tests --coverage --watch",
"test:heap": "jest tests --logHeapUsage",
"prerelease": "npm run predeploy",
"release": "npm version patch",
"postrelease": "git push origin master --tags",
"build:watch": "npm run build -- --watch",
"build": "rimraf commonjs && npm run env && babel src --out-dir commonjs --ignore \"src/*.test.js\"",
"build:commit": "git add commonjs && git commit -m 'build done' || exit 0",
"env": "NODE_ENV=production || set NODE_ENV=production",
"predeploy": "npm run build && npm run build:commit",
"deploy": "git push origin master",
"#postdeploy": "npm run publi",
"prepubli": "npm whoami || npm login",
"publi": "npm publish"
},
"devDependencies": {
"garn-validator": "file:./",
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.6.2",
"babel-loader": "^8.0.6",
"rimraf": "^3.0.0",
"jest": "^24.9.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/jupegarnica/garn-validator.git"
},
"keywords": [
"type",
"validator",
"schema",
"checker",
"functional",
"type-checker"
],
"author": "jupegarnica",
"license": "MIT",
"bugs": {
"url": "https://github.com/jupegarnica/garn-validator/issues"
},
"homepage": "https://github.com/jupegarnica/garn-validator#readme"
}