-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.58 KB
/
Copy pathpackage.json
File metadata and controls
39 lines (39 loc) · 1.58 KB
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
{
"name": "@dzcode.io/utils",
"description": "utility functions and types",
"version": "6.1.0",
"author": {
"email": "zakman.dev@gmail.com",
"name": "Zakaria Mansouri",
"url": "https://zakiii.com/"
},
"devDependencies": {
"@dzcode.io/tooling": "*"
},
"license": "MIT",
"lint-staged": {
"*.*": [
"npm run lint:eslint --fix",
"npm run lint:prettier -- --write"
]
},
"main": "dist",
"private": true,
"scripts": {
"build": "lerna run build:alone --scope=@dzcode.io/utils --include-dependencies --stream",
"build:alone": "tsc",
"build:alone:watch": "tsc --watch --preserveWatchOutput",
"build:watch": "npm run build & npx lerna run build:alone:watch --scope=@dzcode.io/utils --include-dependencies --parallel",
"clean": "lerna run clean:alone --scope=@dzcode.io/utils --include-dependencies --stream",
"clean:alone": "del dist coverage",
"lint": "npm run build && npm run lint:alone",
"lint:alone": "npm run lint:eslint . && npm run lint:prettier -- --check .",
"lint:eslint": "eslint --config ../tooling/eslint.config.mjs",
"lint:fix": "npm run build && npm run lint:fix:alone",
"lint:fix:alone": "npm run lint:eslint --fix . && npm run lint:prettier -- --write .",
"lint:prettier": "prettier --config ../tooling/.prettierrc --ignore-path ../tooling/.prettierignore --log-level warn",
"test": "npm run build && npm run test:alone",
"test:alone": "jest --config ../tooling/jest.config.ts --rootDir .",
"test:watch": "npm-run-all build --parallel build:watch \"test:alone --watch {@}\" --"
}
}