-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathpackage.json
42 lines (42 loc) · 1.62 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
{
"name": "@dzcode.io/models",
"description": "Model definitions",
"version": "6.1.0",
"author": {
"email": "contact@zakiii.com",
"name": "Zakaria Mansouri",
"url": "https://zakiii.com/"
},
"dependencies": {
"@dzcode.io/utils": "*"
},
"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/models --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/models --include-dependencies --parallel",
"clean": "lerna run clean:alone --scope=@dzcode.io/models --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 {@}\" --"
}
}