/
package.json
59 lines (59 loc) · 1.43 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
{
"name": "@edgeguideab/expect",
"version": "9.0.0",
"description": "Check for user input in a consistent way and generate error messages for missings ",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"keywords": [
"expect",
"input",
"arguments",
"validation"
],
"repository": {
"type": "git",
"url": "https://github.com/edgeguide/expect.git"
},
"homepage": "https://github.com/edgeguide/expect",
"author": "EdgeGuide AB",
"license": "MIT",
"scripts": {
"lint": "eslint '*/**/*.{js,ts}' --ignore-path .gitignore",
"test": "jest",
"test-d": "node --inspect-brk node_modules/.bin/jest --runInBand",
"build": "rm -rf dist && npm run test && npm run lint && tsc && rm dist/definitions.js",
"prepublishOnly": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.eslint.json"
}
}
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^7.0.2",
"jest": "^27.2.4",
"lint-staged": "^11.2.0",
"prettier": "^2.4.1",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
}
}