зеркало из https://github.com/microsoft/jacdac-ts.git
83 строки
2.6 KiB
JSON
83 строки
2.6 KiB
JSON
{
|
|
"name": "jacdac-ts",
|
|
"version": "1.33.7",
|
|
"description": "JavaScript/TypeScript library to interact with Jacdac devices",
|
|
"keywords": [
|
|
"jacdac",
|
|
"typescript",
|
|
"i2c",
|
|
"sensors",
|
|
"iot"
|
|
],
|
|
"main": "dist/jacdac.cjs",
|
|
"module": "dist/jacdac.mjs",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/jacdac.mjs",
|
|
"require": "./dist/jacdac.cjs"
|
|
}
|
|
},
|
|
"typings": "dist/types/src/jacdac.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"jacdac-spec",
|
|
"service",
|
|
"src"
|
|
],
|
|
"author": "Microsoft Corporation",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/microsoft/jacdac-ts.git"
|
|
},
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=12.0.0"
|
|
},
|
|
"scripts": {
|
|
"setup": "yarn pullsubmodules && yarn install --frozen-lockfile",
|
|
"pullsubmodules": "git submodule update --init --recursive",
|
|
"lint": "node node_modules/eslint/bin/eslint.js src/**/*.ts",
|
|
"prettier": "prettier --write src/**/*.ts tests/**/*.ts",
|
|
"predist": "rm -rf dist",
|
|
"dist": "node build.js",
|
|
"build": "node build.js",
|
|
"watch": "node build.js --watch",
|
|
"test": "(cd tests && node ../node_modules/mocha/bin/mocha --exit --require ts-node/register --watch-extensions ts,tsx **/*.spec.ts)",
|
|
"testone": "cd tests && node ../node_modules/mocha/bin/mocha --exit --require ts-node/register --watch-extensions ts,tsx **/rolemanager.spec.ts",
|
|
"tools": "npx http-server . -c-1",
|
|
"disttools": "cd docs && mkdir tools && cd ../tools && node ./prepare.js && cp * -t ../docs/tools",
|
|
"buildspecs": "cd jacdac-spec/spectool && sh build.sh",
|
|
"buildpxt": "cd pxt-jacdac && sh mk.sh",
|
|
"builddocs": "node node_modules/typedoc/bin/typedoc && cp .nojekyll docs",
|
|
"docs:watch": "node node_modules/typedoc/bin/typedoc --watch",
|
|
"docs:server": "cd docs && npx live-server --port=8082"
|
|
},
|
|
"devDependencies": {
|
|
"@types/expect": "^24.3.0",
|
|
"@types/mocha": "^10.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
|
"@typescript-eslint/parser": "^5.48.0",
|
|
"colors": "^1.4.0",
|
|
"concurrently": "^8.2.0",
|
|
"cross-env": "^7.0.3",
|
|
"esbuild": "^0.16.14",
|
|
"eslint": "^8.45.0",
|
|
"heap-js": "^2.3.0",
|
|
"lodash.camelcase": "^4.3.0",
|
|
"mem": "^9.0.2",
|
|
"mocha": "^10.2.0",
|
|
"prettier": "3.0.0",
|
|
"prompt": "^1.3.0",
|
|
"replace-in-file": "^7.0.1",
|
|
"shelljs": "^0.8.5",
|
|
"ts-node": "^10.9.1",
|
|
"typedoc": "^0.24.8",
|
|
"typescript": "^5.1.6",
|
|
"yargs-parser": "^21.1.1",
|
|
"@types/node": "^20.4.2",
|
|
"@types/w3c-web-serial": "^1.0.3",
|
|
"@types/w3c-web-usb": "^1.0.6",
|
|
"@types/web-bluetooth": "^0.0.17"
|
|
}
|
|
}
|