-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 4.36 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
{
"name": "@markw65/monkeyc-optimizer",
"type": "commonjs",
"version": "1.1.87",
"description": "Source to source optimizer for Garmin Monkey C code",
"main": "build/optimizer.cjs",
"types": "build/src/optimizer.d.ts",
"exports": {
".": {
"types": "./build/src/optimizer.d.ts",
"default": "./build/optimizer.cjs"
},
"./*.js": {
"types": "./build/src/*.d.ts",
"default": "./build/*.cjs"
}
},
"scripts": {
"watch": "node esbuild.mjs --watch",
"prettier-live": "test -z \"$(git status --untracked-files=no --porcelain || echo dirty)\" && npm install ../prettier-plugin-monkeyc && git commit -am 'prettier-plugin-monkeyc-live'",
"prettier-package": "npm install; npm install @markw65/prettier-plugin-monkeyc; git commit -am \"Update to $(npm list @markw65/prettier-plugin-monkeyc | sed -ne 's/^.*\\(@markw65\\/prettier-plugin-monkeyc\\)/\\1/p')\"",
"build-debug": "node esbuild.mjs",
"build-release": "node esbuild.mjs --release",
"prepack": "node esbuild.mjs --release && mkdir -p bin && cp test/cft-font-info.js bin",
"test": "npm run test-mocha && npm run test-analysis && npm run test-optimized && npm run test-unopt && npm run test-post-only && npm run test-tiny && npm run test-remote && npm run test-remote-tests && npm run test-personality",
"test-mocha": "npx mocha --timeout 999999 build/mocha.cjs",
"test-remote": "node ./test/test.js --showInfo --postOptimize --product=pick-one --ignore-settings-files --github",
"test-remote-tests-default": "npm run test-remote -- --run-tests",
"test-remote-tests-with-forbidden": "npm run test-remote-tests-default -- --allowForbiddenOpts",
"test-remote-tests": "npm run test-remote-tests-default && npm run test-remote-tests-with-forbidden",
"test-optimized-default": "node test/test.js --showInfo --postOptimize --typeCheckLevel Strict --run-tests --product=fenix5 --product=fr235 --jungle ./test/OptimizerTests/monkey.jungle",
"test-optimized-with-forbidden": "npm run test-optimized-default -- --allowForbiddenOpts",
"test-optimized": "npm run test-optimized-default && npm run test-optimized-with-forbidden",
"test-unopt": "node test/test.js --typeCheckLevel Strict --skipOptimization --run-tests --product=fenix5 --product=fr235 --jungle ./test/OptimizerTests/monkey.jungle",
"test-post-only": "node test/test.js --showInfo --typeCheckLevel Strict --skipOptimization --postOptimize --run-tests --product=fenix5 --product=fr235 --jungle ./test/OptimizerTests/monkey.jungle",
"test-garmin-opt": "node test/test.js --typeCheckLevel Strict --skipOptimization --garminOptLevel=2 --run-tests --product=fenix5 --product=fr235 --jungle ./test/OptimizerTests/monkey.jungle",
"test-personality": "node test/test-personality.js",
"test-analysis": "node test/test.js --showInfo --typeCheckLevel Strict --product=fr955 --sourceFile \"test/analysis/*.mc\"",
"test-tiny": "node test/test-tiny.js",
"eslint": "npx eslint ."
},
"bin": {
"cft-font-info": "bin/cft-font-info.js"
},
"files": [
"CHANGELOG.md",
"build/optimizer.cjs",
"build/util.cjs",
"build/sdk-util.cjs",
"build/api.cjs",
"build/worker-thread.cjs",
"build/cftinfo.cjs",
"build/chunk-*.cjs",
"build/src/**/*.d.ts"
],
"author": "markw65",
"license": "MIT",
"dependencies": {
"@markw65/prettier-plugin-monkeyc": "^1.0.60"
},
"devDependencies": {
"@markw65/peggy-optimizer": "^1.0.1",
"@types/chai": "^4.3.4",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/prettier": "^2.6.1",
"@types/priorityqueuejs": "^1.0.1",
"@types/yauzl": "^2.10.0",
"@types/yazl": "^2.4.2",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"chai": "^4.3.7",
"esbuild": "^0.17.16",
"eslint": "^8.12.0",
"extract-zip": "^2.0.1",
"fast-glob": "^3.2.12",
"mocha": "^10.2.0",
"peggy": "^3.0.2",
"prettier": "^2.6.2",
"prettier-plugin-pegjs": "^1.0.1",
"priorityqueuejs": "^2.0.0",
"typescript": "^5.0.4",
"yauzl": "^2.10.0",
"yazl": "^2.5.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/markw65/monkeyc-optimizer.git"
},
"keywords": [
"monkeyc"
],
"bugs": {
"url": "https://github.com/markw65/monkeyc-optimizer/issues"
},
"homepage": "https://github.com/markw65/monkeyc-optimizer#readme"
}