-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.21 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
{
"name": "extol",
"version": "1.3.1",
"description": "Simple decorator-driven TypeScript externalization library",
"author": "Csaba Sulyok <[email protected]>",
"license": "ISC",
"main": "./src/index.ts",
"types": "./src/index.ts",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/csabasulyok/extol.git"
},
"publishConfig": {
"main": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"scripts": {
"clean": "rimraf dist *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"cb": "pnpm clean && pnpm build",
"lint": "eslint 'src/**/*.ts' --quiet --fix",
"format": "prettier --write '**/*.ts' --config ./.prettierrc.yml",
"ci": "pnpm lint && pnpm format && pnpm build",
"publish:local": "pnpm publish --verbose --registry=http://localhost:8081/repository/npm-releases/",
"publish:npmjs": "pnpm publish --verbose --registry=https://registry.npmjs.org/",
"example:simple": "DOTENV_CONFIG_PATH=./examples/simple.env ts-node -r dotenv/config examples/simple.example.ts",
"example:simpleobject": "DOTENV_CONFIG_PATH=./examples/prefixed.env ts-node -r dotenv/config examples/simpleobject.example.ts",
"example:decorator": "DOTENV_CONFIG_PATH=./examples/simple.env ts-node -r dotenv/config examples/decorator.example.ts",
"example:decoratorprefix": "DOTENV_CONFIG_PATH=./examples/prefixed.env ts-node -r dotenv/config examples/decoratorprefix.example.ts"
},
"dependencies": {
"change-case": "4.1.2",
"dotenv": "16.0.2"
},
"devDependencies": {
"@types/node": "18.7.18",
"@typescript-eslint/eslint-plugin": "5.38.0",
"@typescript-eslint/parser": "5.38.0",
"eslint": "8.23.1",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-import-resolver-typescript": "3.5.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.2.1",
"prettier": "2.7.1",
"rimraf": "3.0.2",
"ts-node": "10.9.1",
"typescript": "4.8.3"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"npm run lint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}