-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
86 lines (86 loc) · 3.19 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "package-sync-cli",
"version": "1.3.2",
"description": "keep package repositories in sync with a master template repository",
"author": "Patrick Organ <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/spatie/package-sync",
"keywords": [
"spatie",
"packages",
"synchronize"
],
"repository": {
"type": "git",
"url": "https://github.com/spatie/package-sync.git"
},
"bugs": {
"url": "https://github.com/spatie/package-sync/issues"
},
"main": "dist/package-sync.js",
"scripts": {
"test": "./node_modules/.bin/jest tests --verbose",
"test:coverage": "./node_modules/.bin/jest tests --coverage",
"fmt": "./node_modules/.bin/prettier --config .prettierrc --write 'src/**/*.{js,ts,json,yml,yaml}' 'tests/**/*.{js,ts,json,yml,yaml}' './*.{js,yml,yaml}' 'dist/*.{json,yml,yaml}'",
"lint": "./node_modules/.bin/eslint --ext ts,js src/",
"lint:fix": "./node_modules/.bin/eslint --ext ts,js --fix src/",
"lint:fix-tests": "./node_modules/.bin/eslint --ext ts,js --config ./.eslintrc.test.js --fix tests/",
"lint:staged": "./node_modules/.bin/lint-staged",
"fix": "npm run fmt && ./node_modules/.bin/concurrently npm:lint:fix npm:lint:fix-tests",
"build:dev": "node scripts/build.js --development",
"build:prod": "node scripts/build.js --production",
"build:verify": "./scripts/verify-build.sh",
"dev": "npm run build:dev && node dist/package-sync.js",
"prepare": "is-ci || husky install",
"check:circular": "npx madge --circular --extensions ts ./src",
"preversion": "npm run test",
"postversion": "npm run build:prod"
},
"lint-staged": {
"tests/**/*.{js,ts}": [
"./node_modules/.bin/prettier --config .prettierrc --write",
"./node_modules/.bin/eslint --ext ts,js --config ./.eslintrc.test.js --fix"
],
"*.{js,ts}": [
"./node_modules/.bin/prettier --config .prettierrc --write",
"./node_modules/.bin/eslint --ext ts,js --fix"
],
"*.{json,yaml,yml}": [
"./node_modules/.bin/prettier --config .prettierrc --write"
]
},
"devDependencies": {
"@types/jest": "^29.2.0",
"@types/node": "^22.5.5",
"@types/yargs": "^17.0.13",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"better-strip-color": "^1.0.2",
"concurrently": "^8.0.1",
"esbuild": "^0.23.1",
"eslint": "^8.25.0",
"husky": "^9.0.11",
"is-ci": "^3.0.1",
"jest": "^29.2.1",
"lint-staged": "^15.2.2",
"prettier": "^3.1.0",
"prettier-eslint-cli": "^6.0.1",
"ts-jest": "^29.0.3",
"typescript": "^4.8"
},
"dependencies": {
"chalk": "^4.1.2",
"cli-table3": "^0.6.3",
"js-yaml": "^4.1.0",
"micromatch": "^4.0.5",
"semver": "^7.3.8",
"string-similarity": "^4.0.4",
"yargs": "^17.6.0"
},
"bin": {
"package-sync": "dist/package-sync"
},
"engines": {
"node": ">=14.0.0"
}
}