-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.61 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
67
68
69
70
{
"name": "@connectedcars/setup",
"version": "1.1.2",
"description": "Connected Cars JavaScript/TypeScript development setup",
"main": "build/dist/src/index.js",
"engines": {
"node": ">=20.0.0"
},
"bin": {
"setup": "build/dist/bin/setup.js",
"build": "build/dist/bin/build.js"
},
"scripts": {
"test": "TZ=UTC jest",
"cov": "TZ=UTC jest --coverage=true",
"build": "npm run build:types && npm run build:js",
"build:new": "./build/dist/bin/build.js bin src",
"build:js": "npm run build:js:src && npm run build:js:bin",
"build:js:src": "babel src --out-dir ./build/dist/src --extensions '.ts' --source-maps --ignore '**/*.d.ts','src/**/*.test.ts'",
"build:js:bin": "babel bin --out-dir ./build/dist/bin --extensions '.ts' --source-maps --ignore '**/*.d.ts','src/**/*.test.ts'",
"build:types": "tsc --emitDeclarationOnly",
"lint": "eslint './src/**/*.{ts,tsx}' './bin/**/*.{ts,tsx}'",
"lint:fix": "eslint --fix './src/**/*.{ts,tsx}' './bin/**/*.{ts,tsx}'",
"ci-jest": "TZ=UTC jest --silent --no-color --json 2> /dev/null; res=$?; echo; exit $res",
"ci-audit": "npm audit --json || true",
"ci-eslint": "eslint --format json './src/**/*.{ts,tsx}' || true",
"prepare": "echo \"Make npm install devDependencies for this package by having a prepare script\"",
"prepack": "npm run build",
"prepublishOnly": "rm -rf build",
"postinstall": "test ! -f build/dist/bin/setup.js || node build/dist/bin/setup.js fix $INIT_CWD"
},
"repository": {
"type": "git",
"url": "git+https://github.com/connectedcars/node-setup.git"
},
"author": "Connected Cars <oss@connectedcars.io>",
"license": "MIT",
"bugs": {
"url": "https://github.com/connectedcars/node-setup/issues"
},
"homepage": "https://github.com/connectedcars/node-setup#readme",
"dependencies": {
"args": "^5.0.3",
"yargs": "^17.7.2"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@eslint/js": "^9.9.1",
"@types/args": "^5.0.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.10",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"babel-jest": "^29.7.0",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^15.9.0",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"typescript-eslint": "^8.4.0"
}
}