-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
66 lines (66 loc) · 1.99 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": "@socialgouv/modeles-social",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"version": "4.170.1",
"description": "Les règles publicodes des simulateurs de code du travail numérique",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "https://github.com/SocialGouv/code-du-travail-numerique.git",
"directory": "packages/code-du-travail-modeles"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"@swc/cli": "^0.4.0",
"@swc/core": "^1.3.66",
"@swc/jest": "^0.2.36",
"@types/fs-extra": "^9.0.12",
"@types/jest": "^29.5.12",
"eslint": "^9.8.0",
"globals": "^15.9.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"nodemon": "^2.0.12",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.0"
},
"scripts": {
"precommit": "lint-staged",
"prebuild": "tsc -p tsconfig.build.json",
"test": "jest --silent=true",
"lint": "eslint \"./src/**/*.{js,ts}\"",
"dev": "nodemon --exec 'npm run build:dev' --watch 'src/**' --ext 'ts,yaml'",
"test:watch": "nodemon --exec 'jest' --watch 'src/**' --ext 'ts,yaml'",
"build": "yarn prebuild && yarn postbuild",
"build:dev": "yarn build:swc && yarn postbuild",
"build:swc": "swc ./src --out-dir bin --copy-files --strip-leading-paths",
"postbuild": "node bin/internal/build.js",
"clean": "rimraf bin lib",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"format": "prettier --write \"./src/**/*.{js,ts,yaml,yml,json}\"",
"format:check": "prettier --check \"./src/**/*.{js,ts,yaml,yml,json}\""
},
"dependencies": {
"date-fns": "^2.28.0",
"fs-extra": "^10.0.0",
"publicodes": "1.0.0-beta.60",
"yaml": "^2.0.0"
},
"lint-staged": {
"*.{ts,js}": [
"yarn lint --fix --quiet"
],
"*.{ts,js,yaml,yml,json}": [
"yarn format"
]
}
}