This repository has been archived by the owner on Nov 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
56 lines (56 loc) · 1.66 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
{
"name": "@musicglue/joi-ts-generator",
"version": "6.0.2",
"description": "Generate Typescript Types from Joi schemas",
"bin": {
"joi-ts-gen": "dist/cli.js"
},
"main": "dist/index.js",
"repository": "https://github.com/musicglue/joi-ts-generator",
"author": "Music Glue",
"license": "MIT",
"scripts": {
"build": "npm run clean && tsc && npm run copy-templates",
"clean": "rm -rf dist",
"copy-templates": "npm run purge-templates && cp -R src/writers/templates dist/writers",
"make-executable": "chmod +x dist/cli.js",
"prepare-templates-dir": "mkdir -p dist/writers/templates",
"prepublish": "npm run build; npm run make-executable",
"prettify": "prettier --write --parser typescript --trailing-comma all --list-different ./src/**/*.ts",
"purge-templates": "npm run prepare-templates-dir && rm -rf dist/writers/templates",
"test": "./node_modules/.bin/jest --no-watchman"
},
"devDependencies": {
"@types/jest": "^20.0.6",
"@types/joi": "^10.4.0",
"@types/lodash": "^4.14.71",
"@types/node": "^8.0.19",
"@types/rosie": "^0.0.30",
"jest": "^20.0.4",
"joi": "^10.6.0",
"prettier": "^1.5.3",
"ts-jest": "^20.0.9",
"ts-node": "^3.3.0",
"tslint": "^5.5.0",
"typescript": "^2.4.2"
},
"dependencies": {
"deep-freeze-strict": "^1.1.1",
"fp-ts": "^0.4.5",
"lodash": "^4.17.4",
"read-pkg-up": "^2.0.0",
"rosie": "^1.6.0"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "test/.*\\.(test)\\.(ts|tsx)"
}
}