idlize

Форк
0
/
package.json 
64 строки · 4.1 Кб
1
    {
2
    "name": "@azanat/idlize",
3
    "version": "1.2.0",
4
    "description": "",
5
    "main": "lib/index.js",
6
    "bin": "lib/index.js",
7
    "files": [
8
        "lib/*.js",
9
        "stdlib.d.ts",
10
        "whitelist.json",
11
        "peer_lib/**/*"
12
    ],
13
    "license": "Apache-2.0",
14
    "keywords": [],
15
    "dependencies": {
16
        "@types/webidl2": "^24.4.1",
17
        "commander": "^10.0.0",
18
        "typescript": "^4.9.5",
19
        "webidl2": "^24.4.1",
20
        "@types/node": "^18.0.0"
21
    },
22
    "devDependencies": {
23
        "@rollup/plugin-node-resolve": "^15.2.3",
24
        "@rollup/plugin-terser": "^0.4.4",
25
        "@rollup/plugin-typescript": "^11.1.6",
26
        "@types/chai": "^4.3.1",
27
        "@types/mocha": "^9.1.0",
28
        "@types/node": "^18.0.0",
29
        "@typescript-eslint/eslint-plugin": "^5.20.0",
30
        "@typescript-eslint/parser": "^5.20.0",
31
        "chai": "^4.3.6",
32
        "eslint": "^8.13.0",
33
        "eslint-plugin-unused-imports": "^2.0.0",
34
        "mocha": "^9.2.2",
35
        "rollup": "^4.12.1",
36
        "source-map-support": "^0.5.21"
37
    },
38
    "scripts": {
39
        "download:sdk": "node ./download-sdk.mjs",
40
        "download:napi": "node ./download-napi.mjs",
41
        "compile": "npm run download:sdk && rollup -c",
42
        "clean": "rimraf build dist lib",
43
        "run": "npm run compile && node . --dts2idl --input-dir ./interface_sdk-js/api/@internal/component/ets/ --input-file common.d.ts --verify-idl --common-to-attributes --docs=opt",
44
        "run:all": "npm run compile && node . --dts2idl --input-dir ./interface_sdk-js/api/@internal/component/ets/ --verify-idl --common-to-attributes --docs=opt",
45
        "run2h": "npm run compile && node . --idl2h --input-dir ./idl",
46
        "run2dts": "npm run compile && node . --idl2dts --input-dir ./idl",
47
        "run2peer:all": "npm run compile && node . --dts2peer --input-dir ./interface_sdk-js/api/@internal/component/ets/ --output-dir ./generated/peers",
48
        "run2peer": "npm run compile && node . --dts2peer --input-dir ./interface_sdk-js/api/@internal/component/ets/ --generate-interface CommonMethod,ButtonAttribute --output-dir ./generated/peers",
49
        "lint": "npm run compile && node . --linter --input-dir ./interface_sdk-js/api/@internal/component/ets/ --input-file common.d.ts --output-dir linter --linter-whitelist whitelist.json",
50
        "lint:all": "npm run compile && node . --linter --input-dir ./interface_sdk-js/api/@internal/component/ets/ --output-dir linter --linter-whitelist whitelist.json",
51
        "check:peers": "npm run run2peer:all && tsc -p ./tsconfig-generated.json && cp peer_lib/package.json.peers.in build/peers/package.json",
52
        "check:subset": "npm run compile && node . --dts2peer --input-dir ./tests/subset/ets/ --output-dir ./generated/subset && tsc -p ./tsconfig-subset.json && cp peer_lib/package.json.subset.in build/subset/package.json",
53
        "check:subset:run": "npm run check:subset && npm run compile:native-node-host-subset && node ./build/subset/generated/subset",
54
        "check:peers:run": "npm run check:peers && npm run compile:native-node-host-full && node ./build/peers/generated/peers",
55
        "test:subset": "npm run check:subset && mocha ./build/subset/tests/subset/unit/",
56
        "check:subset:fuzz": "npm run compile && node . --dts2test --input-dir ./tests/subset/ets  --output-dir ./generated/fuzz && npm run check:subset && npm run compile:native-node-host-subset && node ./build/subset/generated/fuzz",
57
        "check:peers:native": "npm run run2peer:all && npm run compile:native",
58
        "configure:native-node-host-subset": "npm run download:napi && npm run check:subset && cd ./native && meson setup -Dsubset=true build-node-host-subset",
59
        "compile:native-node-host-subset": "npm run configure:native-node-host-subset && cd native && meson compile -C build-node-host-subset && meson install -C build-node-host-subset",
60
        "configure:native-node-host-full": "npm run download:napi && npm run check:peers && cd ./native && meson setup -Dsubset=false build-node-host-full",
61
        "compile:native-node-host-full": "npm run configure:native-node-host-full && cd native && meson compile -C build-node-host-full && meson install -C build-node-host-full"
62

63
    }
64
}
65

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.