This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
76 lines (76 loc) · 2.18 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
{
"name": "@freighthub/typed-env",
"version": "1.3.4",
"description": "Enforceable environment variable contracts at runtime",
"author": "FreightHub GmbH",
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
"private": false,
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"build": "tsc --rootDir ./ -p tsconfig.json",
"build:test": "yarn clean && tsc --rootDir ./ -p tsconfig.test.json",
"build:watch": "tsc --rootDir ./ -w",
"circular": "madge --circular dist/",
"complexity": "./node_modules/.bin/ts-complexity --max-complexity=20 --pattern './{src}/**/*.ts'",
"clean": "rm -fr dist",
"coverage": "jest --coverage --no-cache",
"coverage:watch": "yarn coverage --watch",
"lint": "tslint -p .",
"prepare": "yarn build",
"publish:package": "node ./scripts/publish",
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag $PACKAGE_VERSION && git push --tags",
"prebuild": "yarn clean",
"pretest": "yarn lint && yarn build:test",
"release": "npm --no-git-tag-version version",
"test": "jest",
"test:watch": "yarn test --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/freight-hub/TypedEnv.git"
},
"dependencies": {
"deep-freeze": "^0.0.1",
"fp-ts": "^2.1.1",
"io-ts": "^2.0.1",
"valid-url": "^1.0.9"
},
"devDependencies": {
"@types/deep-freeze": "^0.1.1",
"@types/jest": "^27.0.1",
"@types/node": "^18.0.0",
"@types/valid-url": "^1.0.2",
"jest": "~24.9.0",
"madge": "^6.0.0",
"semver-compare": "^1.0.0",
"ts-complexity": "0.0.3",
"ts-jest": "^24.0.2",
"tslint": "^6.0.0",
"tslint-config-standard": "^9.0.0",
"typescript": "5.0.3"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/index.ts"
],
"coverageReporters": [
"text",
"html"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
}
}