-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
102 lines (102 loc) · 3.06 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
93
94
95
96
97
98
99
100
101
102
{
"version": "0.0.0-development",
"license": "MIT",
"name": "environment-enforcer.macro",
"author": "Dan Greene",
"main": "dist/index.macro.js",
"typings": "dist/index.macro.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"keywords": [
"macros",
"babel",
"dotenv",
"dot-env",
".env",
"environment",
"variables",
"typescript",
"schema",
"environment variables",
"babel-macros",
"babel-plugin-macros"
],
"scripts": {
"start": "tsdx watch",
"type-check": "npm run type-check:business && npm run type-check:fixtures",
"type-check:business": "tsc --noEmit",
"type-check:fixtures": "tsc --noEmit --project ./__fixtures__/tsconfig.json",
"emit-declarations-only": "echo 'Hopefully someday, we can stop emiting the declarations by hand, but until there is a workaround for https://github.com/babel/babel/issues/9668#issuecomment-602221154 then we will will use the emitDeclarationOnly flag of tsc and leave the transpilation to Babel.' && tsc --emitDeclarationOnly --outDir dist",
"build": "npm run emit-declarations-only && npm run type-check:business && babel src --out-dir dist --extensions \".ts,.js\" --ignore '__fixtures__/**/*','**/*.spec.*'",
"pretest": "rimraf dist && npm run build && npm run type-check:fixtures",
"test": "jest --collect-coverage",
"lint": "eslint --ext=.tsx,.ts,.js .",
"size": "size-limit",
"prepare": "husky install",
"prepack": "npm run build",
"semantic-release": "semantic-release"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"size-limit": [
{
"path": "dist/index.macro.js",
"limit": "2 KB"
}
],
"peerDependencies": {
"babel-plugin-macros": "^3.1.0"
},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/parser": "^7.13.11",
"@babel/plugin-proposal-optional-chaining": "^7.13.8",
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/preset-typescript": "^7.13.0",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@size-limit/file": "^5.0.1",
"@types/app-root-path": "^1.2.4",
"@types/babel-plugin-macros": "^2.8.4",
"@types/babel-plugin-tester": "^9.0.2",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-tester": "^10.0.0",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"rimraf": "^3.0.2",
"semantic-release": "^17.4.4",
"size-limit": "^4.12.0",
"ts-jest": "^26.5.3",
"tslib": "^2.1.0",
"typescript": "^4.2.3"
},
"dependencies": {
"@babel/core": "^7.13.10",
"app-root-path": "^3.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/dgreene1/environment-enforcer.git"
}
}