-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
92 lines (92 loc) · 2.47 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
84
85
86
87
88
89
90
91
92
{
"name": "adjuster",
"description": "validate and adjust input values",
"version": "1.3.0",
"author": "shimataro",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/shimataro/node-adjuster.git"
},
"bugs": {
"url": "https://github.com/shimataro/node-adjuster/issues"
},
"homepage": "https://github.com/shimataro/node-adjuster#readme",
"publishConfig": {
"access": "public"
},
"keywords": [
"param",
"params",
"parameter",
"parameters",
"validate",
"validator",
"ajust",
"adjuster",
"revise",
"revisor"
],
"main": "./dist/index",
"types": "./src/index.d.ts",
"engines": {
"node": ">= 4.0.0",
"npm": ">=2.0.0"
},
"scripts": {
"build": "run-p build:**",
"build:cjs": "npm run build-core",
"build:esm": "cross-env BABEL_ENV=esm npm run build-core -- --keep-file-extension",
"build-core": "babel ./src --out-dir ./dist --source-maps",
"watch": "run-p watch:**",
"watch:cjs": "npm run build-core -- --watch",
"watch:esm": "cross-env BABEL_ENV=esm npm run build-core -- --keep-file-extension --watch",
"postinstall": "npm run build",
"test": "cross-env NODE_PATH=./src jest",
"verify": "run-p test lint",
"lint": "run-p lint:*",
"lint:es": "eslint ./src ./test --ext .mjs",
"lint:md": "markdownlint . --ignore ./node_modules",
"lint:yaml": "yamllint .*.yml *.yml --ignore=node_modules/**/*.yml --ignore=node_modules/**/*.yaml",
"check-updates": "ncu"
},
"devDependencies": {
"@types/core-js": "2.5.0",
"@types/jest": "23.3.13",
"@types/node": "10.12.18",
"babel-eslint": "10.0.1",
"core-js": "2.6.3",
"eslint": "5.12.1",
"eslint-plugin-import": "2.15.0",
"jest": "24.0.0",
"markdownlint-cli": "0.13.0",
"npm-check-updates": "2.15.0",
"yaml-lint": "1.2.4"
},
"dependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@babel/plugin-proposal-decorators": "7.3.0",
"@babel/preset-env": "7.3.1",
"babel-plugin-add-module-exports": "1.0.0",
"cross-env": "5.2.0",
"npm-run-all": "4.1.5"
},
"jest": {
"verbose": false,
"moduleFileExtensions": [
"js",
"mjs"
],
"moduleNameMapper": {
"^adjuster$": "<rootDir>/src/index"
},
"testEnvironment": "node",
"testRegex": "\\.(test|spec)\\.mjs$",
"transform": {
"\\.mjs$": "babel-jest"
},
"collectCoverage": true,
"coverageDirectory": "./coverage/"
}
}