-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 2.41 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
{
"name": "@lawlzer/utils",
"version": "3.4.15",
"description": "A collection of utilities used to streamline common programming tasks/useful utilities, to help improve code readability and maintainability.",
"keywords": [],
"repository": {
"type": "git",
"url": "https://github.com/Lawlzer/utils"
},
"license": "ISC",
"author": "Lawlzer",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"src",
"dist"
],
"scripts": {
"build": "npm run clean && npm run build:types && npm run build:js",
"build:js": "npx swc ./src -d ./dist --config-file ./config/.swcrc --only **/*.ts",
"build:types": "tsc --project tsconfig.build.json",
"clean": "rimraf ./dist",
"lint": "npm run lint:eslint && npm run lint:prettier",
"lint:eslint": "eslint --cache --fix --cache-location ./temp/eslint-cache --ignore-path ./.gitignore --config ./config/.eslintrc.js",
"lint:eslint:commit": "eslint --cache --fix --cache-location ./temp/eslint-cache --ignore-path ./.gitignore --config ./config/.eslintrc.commit.js",
"lint:eslint:debug": "cross-env TIMING=1 && eslint --ignore-path ./.gitignore --config ./config/.eslintrc.commit.js",
"lint:prettier": "prettier --write --config ./config/.prettierrc.js --ignore-path ./.gitignore",
"lint:prettier:debug": "prettier --write --config ./config/.prettierc.js --ignore-path ./.gitignore",
"pre-commit": "lint-staged -c ./config/lint-staged.config.js",
"prepare": "husky install",
"publish:all": "npm run build && npm run test && npm publish --access=public && echo \"Successfully published to NPM!\"",
"start": "cross-env node -r sucrase/register src/index.ts",
"start:production": "node dist/index",
"test": "jest --config ./config/jest.config.ts"
},
"prettier": "./config/.prettierrc.js",
"dependencies": {
"dotenv": "^16.3.1",
"fs-extra": "^11.1.1",
"ms": "^2.1.3",
"picocolors": "^1.0.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@lawlzer/eslint": "^0.0.20",
"@lawlzer/prettier": "^0.0.4",
"@sucrase/jest-plugin": "^3.0.0",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.8",
"@types/ms": "^0.7.34",
"@types/node": "^20.9.1",
"cross-env": "^7.0.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.1.0",
"nodemon": "^3.0.1",
"rimraf": "^5.0.5",
"sucrase": "^3.34.0",
"swc": "^1.0.11",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"publishConfig": {
"@YOUR-USERNAME:registry": "https://npm.pkg.github.com"
}
}