generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 3.52 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "loadenv-action",
"description": "GitHub Action loading environment variables",
"version": "0.0.2",
"author": "Rad Akefirad",
"license": "MIT",
"private": false,
"main": "out/main.js",
"scripts": {
"prepare": "is-ci || husky install",
"clean": "del out \\(src\\|out\\)/**/*.\\(js\\|d.ts\\)",
"ci-test": "jest",
"format": "prettier --write '**/*.ts'",
"format:check": "prettier --check '**/*.ts'",
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
"package": "ncc build src/index.ts --license licenses.txt",
"package:watch": "npm run package -- --watch",
"test:coverage": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
"test": "jest",
"check:workspace": "test -z \"$(git status --porcelain)\""
},
"dependencies": {
"@actions/core": "^1.0.0",
"dotenv": "^16.0.0",
"dotenv-expand": "^10.0.0",
"husky": "^8.0.0",
"is-ci": "^3.0.0"
},
"devDependencies": {
"@total-typescript/ts-reset": "^0.5.1",
"@types/jest": "^29.0.0",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vercel/ncc": "^0.38.0",
"del-cli": "^5.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.0.0",
"eslint-plugin-jest": "^27.0.0",
"eslint-plugin-jsonc": "^2.0.0",
"eslint-plugin-only-warn": "^1.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"js-yaml": "^4.0.0",
"make-coverage-badge": "^1.0.0",
"prettier-eslint": "^16.0.0",
"prettier": "^3.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
},
"jest": {
"preset": "ts-jest",
"clearMocks": true,
"verbose": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
]
},
"eslintConfig": {
"root": true,
"ignorePatterns": [
"dist",
"node_modules",
"**/*.js",
"**/*.d.ts"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier",
"jest"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": "warn",
"prettier/prettier": [
"error",
{
"singleQuote": false,
"printWidth": 100,
"semi": true,
"arrowParens": "always",
"bracketSpacing": true,
"trailingComma": "all"
}
]
},
"env": {
"node": true,
"jest/globals": true
}
},
"prettier": {
"semi": true,
"trailingComma": "all",
"singleQuote": false,
"tabWidth": 2,
"useTabs": false,
"printWidth": 100
},
"engines": {
"node": ">=16"
},
"repository": {
"type": "git",
"url": "git+https://github.com/akefirad/loadenv-action.git"
},
"keywords": [
"actions",
"dotenv",
"env",
"node",
"setup"
]
}