-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
47 lines (47 loc) · 1.72 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
{
"name": "mac-renderer",
"version": "1.0.2",
"author": "ivancea",
"license": "MIT",
"main": "./build/index.js",
"bin": "./build/cli.js",
"scripts": {
"build": "rimraf ./build && npm run generate && tsc -p tsconfig.build.json && npm run copy-files",
"copy-files": "copyfiles ./{generated,images}/** ./build && copyfiles ./mac-schema.json ./build",
"generate": "rimraf ./generated && npm run generate-schema && npm run generate-sass",
"generate-schema": "json2ts mac-schema.json generated/mac.d.ts --no-additionalProperties && npm run generate-schema-fixes",
"generate-schema-fixes": "replace-in-file \"/\\[k: string\\]: unknown;/g\" \"\" generated/mac.d.ts --isRegex && replace-in-file \": Image1\" \": Image\" generated/mac.d.ts",
"generate-sass": "sass --style=compressed --no-source-map ./sass:./generated/styles && copyfiles --flat ./generated/styles/styles.css ./generated && rimraf ./generated/styles",
"format": "prettier ./**/* --write",
"lint": "eslint . --ext .ts,.js",
"prepare": "npm run build"
},
"devDependencies": {
"@types/marked": "6.0.0",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"copyfiles": "2.4.1",
"eslint": "8.52.0",
"json-schema-to-typescript": "13.1.1",
"prettier": "3.0.3",
"prettier-plugin-organize-imports": "3.2.3",
"replace-in-file": "7.0.1",
"rimraf": "5.0.5",
"sass": "1.69.4",
"typescript": "5.2.2"
},
"dependencies": {
"commander": "11.1.0",
"escape-html": "1.0.3",
"jsonschema": "1.4.1",
"lodash": "4.17.21",
"marked": "9.1.2"
},
"repository": {
"type": "git",
"url": "https://github.com/ivancea/mac-renderer.git"
},
"files": [
"build"
]
}