-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (132 loc) · 4.31 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "zustandsmaschine",
"version": "0.0.0",
"description": "",
"main": "main.ts",
"type": "module",
"directories": {
"doc": "docs",
"bin": "source/bin",
"test": "source/test"
},
"scripts": {
"preinit": "npm i --force",
"preinit:main": "tsc main.ts -m commonjs",
".": "node support.cjs && tsc main.ts -m commonjs && node support.cjs && node main.cjs",
"generate-version-json": "node scripts/js/generate-version-json.js",
"lint": "node ./scripts/lint.js && npm run lint:docs",
"lint:js": "node ./scripts/lint.js --js",
"lint:docs": "remark docs -qf && npm run lint:js-in-markdown && npm run create-typescript-definitions && npm run lint:ts-check-js-in-markdown && npm run lint:docs-fiddles && npm run lint:docs-relative-links && npm run lint:markdownlint",
"lint:docs-fiddles": "standard \"docs/fiddles/**/*.js\"",
"lint:docs-relative-links": "electron-lint-markdown-links --root docs \"**/*.md\"",
"lint:markdownlint": "electron-markdownlint \"*.md\" \"docs/**/*.md\"",
"lint:ts-check-js-in-markdown": "electron-lint-markdown-ts-check --root docs \"**/*.md\" --ignore \"breaking-changes.md\"",
"lint:js-in-markdown": "electron-lint-markdown-standard --root docs \"**/*.md\"",
"precommit": "lint-staged",
"prepack": "check-for-leaks",
"prepare": "husky install && cd scripts/python && py -m venv venv",
"prepare:husky": "husky install",
"prepare:python": "cd scripts/python && py -m venv venv && cd ./../../source && py -m venv venv",
"build": "tsc -noEmit -skipLibCheck main.ts && node esbuild.config.mjs production",
"pack": "python scripts/python/pack.py",
"release": "standard-version",
"release:minor": "standard-version --release-as minor",
"release:patch": "standard-version --release-as patch",
"release:major": "standard-version --release-as major",
"versync": "python source/versync.py"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Falcion/Zustandsmaschine.git"
},
"keywords": [
],
"author": "Falcion",
"license": "MIT",
"bugs": {
"url": "https://github.com/Falcion/Zustandsmaschine/issues"
},
"homepage": "https://github.com/Falcion/Zustandsmaschine#readme",
"lint-staged": {
"*.{js,ts}": [
"node scripts/lint.js --js --fix --only --"
],
"*.{js,ts,d.ts}": [
"ts-node scripts/gen-filenames.ts"
],
"*.{cc,mm,c,h}": [
"python3 scripts/run-clang-format.py -r -c --fix"
],
"*.md": [
"npm run lint:docs"
],
"*.{gn,gni}": [
"npm run gn-check",
"npm run gn-format"
],
"*.py": [
"node scripts/lint.js --py --fix --only --"
],
"{*.patch,.patches}": [
"node scripts/lint.js --patches --only --",
"ts-node scripts/js/check-patch-diff.ts"
]
},
"husky": {
"hooks": {
"pre-commit": "sh .husky/pre-commit",
"commit-msg": "sh .husky/commit-msg"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
},
"devDependencies": {
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"@electron/lint-roller": "^1.9.0",
"@octokit/rest": "^20.0.2",
"@types/extend": "^3.0.3",
"@types/fs-extra": "^11.0.2",
"@types/minimist": "^1.2.3",
"@types/node": "^20.8.6",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"chai": "^5.0.0",
"check-for-leaks": "^1.2.1",
"dotenv": "^16.3.1",
"dotenv-safe": "^8.2.0",
"eslint": "^8.51.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin": "^1.0.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-markdownlint": "^0.5.0",
"eslint-plugin-node": "^11.1.0",
"extend": "^3.0.2",
"folder-hash": "^4.0.4",
"fs-extra": "^11.1.1",
"husky": "^8.0.3",
"inquirer": "^9.2.11",
"lint": "^1.1.2",
"lint-staged": "^15.0.1",
"markdownlint-cli2": "^0.11.0",
"markdownlint": "^0.33.0",
"minimist": "^1.2.8",
"mocha": "^10.2.0",
"prettier": "^3.0.3",
"remark": "^15.0.1",
"standard-version": "^9.5.0",
"temp": "^0.9.4",
"ts-loader": "^9.5.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^4.9.5",
"unicorn": "^0.0.1",
"url": "^0.11.3"
},
"dependencies": {
"@npmcli/package-json": "^5.0.0"
}
}