-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 3.05 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
{
"name": "@matteodisabatino/typed-env",
"version": "2.0.0",
"description": "Enable the conversion of environment variables into several JavaScript types",
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"lint": "eslint src test --fix --ext ts",
"postbuild": "copyfiles -e \"**/*.ts\" \"src/**/*\" \"test/**/*\" dist/",
"postinstall": "rimraf dist/package.json && copyfiles package.json dist/",
"prebuild": "rimraf dist",
"release": "release-it --ci",
"test": "TO_ARRAY=[10,20] TO_BIG_INT=42 TO_BIG_INT_64_ARRAY=[22,33] TO_BIG_UINT_64_ARRAY=[88,99] TO_BOOLEAN=false TO_DATE_FROM_NUMBER=1640991600000 TO_DATE_FROM_STRING=1999-12-31T23:00:00.000Z TO_FLOAT_32_ARRAY=[12.5,77] TO_FLOAT_32_ARRAY_WRONG=[10,\\\"foo\\\"] TO_FLOAT_64_ARRAY=[22.3,47.22] TO_FLOAT_64_ARRAY_WRONG=[20,\\\"bar\\\"] TO_FUNCTION=\"(x) => x ** 2\" TO_INT_8_ARRAY=[8,32] TO_INT_8_ARRAY_WRONG=[30,\\\"baz\\\"] TO_INT_16_ARRAY=[64,128] TO_INT_16_ARRAY_WRONG=[40,\\\"foo\\\"] TO_INT_32_ARRAY=[1024,3912] TO_INT_32_ARRAY_WRONG=[50,\\\"bar\\\"] TO_MAP={\\\"hello\\\":\\\"world\\\"} TO_NUMBER=5 TO_OBJECT={\\\"key\\\":\\\"value\\\"} TO_REG_EXP=^hello$ TO_REG_EXP_WRONG=?: TO_SET=[30,50] TO_STRING=test TO_SYMBOL=foo TO_UINT_8_ARRAY=[10,20] TO_UINT_8_ARRAY_WRONG=[10,\\\"foo\\\"] TO_UINT_8_CLAMPED_ARRAY=[50,55] TO_UINT_8_CLAMPED_ARRAY_WRONG=[50,\\\"bar\\\"] TO_UINT_16_ARRAY=[250,450] TO_UINT_16_ARRAY_WRONG=[250,\\\"baz\\\"] TO_UINT_32_ARRAY=[1200,3400] TO_UINT_32_ARRAY_WRONG=[\\\"foo\\\",3400] npx nyc --reporter=text ava \"test/**/*.spec.ts\" --check-coverage --lines 70"
},
"repository": {
"type": "git",
"url": "git+https://github.com/matteodisabatino/typed-env.git"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"env",
"env conv",
"env type casting",
"environment",
"environment conversion",
"environment type casting",
"environment variables",
"environment variables conversion",
"environment variables type casting",
"convertable env",
"convertable environment",
"convertable environment variables",
"typed env",
"typed environment",
"typed environment variables"
],
"author": "Matteo Di Sabatino (@matteodisabatino)",
"license": "ISC",
"bugs": {
"url": "https://github.com/matteodisabatino/typed-env/issues"
},
"homepage": "https://github.com/matteodisabatino/typed-env#readme",
"dependencies": {
"@humanwhocodes/env": "^3.0.1",
"copyfiles": "^2.4.1",
"rimraf": "^5.0.5",
"runtypes": "^6.7.0"
},
"devDependencies": {
"@ava/typescript": "^4.1.0",
"@release-it/conventional-changelog": "^7.0.2",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"ava": "^5.3.1",
"eslint": "^8.53.0",
"eslint-config-standard-with-typescript": "^39.1.1",
"eslint-plugin-ava": "^14.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.3.0",
"eslint-plugin-promise": "^6.1.1",
"release-it": "^16.2.1",
"typescript": "^5.2.2"
},
"engines": {
"node": ">=18"
}
}