idlize
39 строк · 1.7 Кб
1{
2"name": "@koalaui/ets-plugin",
3"version": "1.4.1+devel",
4"description": "",
5"main": "build/lib/src/ArkExpander.js",
6"types": "build/lib/src/ArkExpander.d.ts",
7"files": [
8"build/lib/**/*.js",
9"build/lib/**/*.d.ts"
10],
11"scripts": {
12"patch-ts-patch": "node ../tools/patch-ts-patch.mjs ../node_modules/ts-patch",
13"patch-ohos-typescript": "cd ../node_modules/ohos-typescript && ts-patch install",
14"compile": "npm run patch-ts-patch && npm run patch-ohos-typescript && node ../node_modules/ohos-typescript/bin/tsc -b .",
15"clean": "rimraf build dist test/dump test/generated test/ets/specification test/specification/ets2bundle",
16"ets:test": "cd test/ets; ../../../node_modules/ohos-typescript/bin/tsc",
17"test": "npm run compile && npm run ets:test && mocha --reporter-option maxDiffSize=0",
18"test:coverage": "nyc mocha",
19"canonize": "cp -r test/generated/. test/golden/",
20
21"compile:spec": "cd test/ets && ../../../node_modules/ohos-typescript/bin/tsc -p spec-tsconfig.json",
22"test:spec": "npm run compile && npm run sync:spec && npm run compile:spec && mocha --config spec.mocharc.json",
23"compile:sync:spec": "cd test/scripts && ../../../node_modules/typescript/bin/tsc -p tsconfig-sync-specification.json",
24"sync:spec": "npm run compile:sync:spec && cd build/test/scripts && node sync-specification.js"
25},
26"keywords": [],
27"dependencies": {},
28"devDependencies": {
29"@types/chai": "^4.3.1",
30"@types/mocha": "^9.1.0",
31"@typescript-eslint/eslint-plugin": "^5.20.0",
32"@typescript-eslint/parser": "^5.20.0",
33"chai": "^4.3.6",
34"eslint": "^8.13.0",
35"eslint-plugin-unused-imports": "^2.0.0",
36"mocha": "^9.2.2",
37"source-map-support": "^0.5.21"
38}
39}
40