@aptpod/iscp-ts
Version:
iSCP 2.0 client library for TypeScript
140 lines (139 loc) • 5.17 kB
JSON
{
"name": "@aptpod/iscp-ts",
"version": "1.1.1",
"description": "iSCP 2.0 client library for TypeScript",
"keywords": [
"aptpod",
"typescript",
"iscp"
],
"homepage": "",
"bugs": "",
"repository": {
"type": "git",
"url": ""
},
"license": "Apache-2.0",
"author": "aptpod, Inc.",
"exports": {
"node": {
"import": "./es/node/index.js",
"require": "./lib/node/index.js"
},
"browser": {
"import": "./es/browser/index.js",
"require": "./lib/browser/index.js"
}
},
"types": "./es/browser/index.d.ts",
"scripts": {
"build": "run-s build:*",
"build:es-browser": "tsc -p ./tsconfig.esm.browser.json && tsc-alias -v -p ./tsconfig.esm.browser.json ",
"build:es-node": "tsc -p ./tsconfig.esm.node.json && tsc-alias -v -p ./tsconfig.esm.node.json ",
"build:cjs-browser": "tsc -p ./tsconfig.cjs.browser.json && tsc-alias -v -p ./tsconfig.cjs.browser.json ",
"build:cjs-node": "tsc -p ./tsconfig.cjs.node.json && tsc-alias -v -p ./tsconfig.cjs.node.json ",
"build-doc": "run-s build-doc:*",
"build-doc:clean": "rm -rf docs",
"build-doc:build": "typedoc --options ./typedoc.json --out docs --includeVersion src/index.ts",
"doc:watch": "run-s doc:watch:*",
"doc:watch:prebuild": "run-s build-doc",
"doc:watch:serve": "run-p doc:watch:serve:*",
"doc:watch:serve:start": "live-server --wait=500 ./docs",
"doc:watch:serve:watch": "chokidar \"src/**/*.ts\" \"README.md\" -c \"run-s build-doc:build\"",
"clean": "run-p clean:**",
"clean-install": "yarn clean && yarn initialize",
"clean:build": "rm -rfv es && rm -rfv lib",
"clean:cache": "rm -rfv .eslintcache es/*.tsbuildinfo lib/*.tsbuildinfo tsconfig.jest.tsbuildinfo",
"clean:docs": "rm -rfv .public",
"clean:es": "rm -rfv es",
"clean:lib": "rm -rfv lib",
"clean:packages": "rm -rfv node_modules",
"coverage": "run-p coverage:**",
"coverage:jest": "jest --coverage",
"fmt": "run-p fmt:**",
"fmt:eslint": "eslint '**/*.{js,jsx,ts,tsx}' --rule 'import/namespace: off' --rule 'import/no-cycle: off' --fix --cache",
"fmt:json": "prettier --write --tab-width 2 '**/*.json'",
"fmt:md": "prettier --write --tab-width 2 '**/*.md'",
"fmt:package-json": "sort-package-json",
"fmt:yml": "prettier --write --tab-width 2 '**/*.yml'",
"gen-proto": "run-s \"gen-proto:*\"",
"gen-proto:encoding": "./.bash/gen-proto.sh ./iscp-proto/std/message.proto ./src/encoding/codegen",
"initialize": "yarn initialize:packages && yarn initialize:template",
"initialize:packages": "yarn",
"initialize:template": "yarn gitlab-template",
"lint": "run-p lint:**",
"lint:eslint": "eslint '**/*.{js,jsx,ts,tsx}' --rule 'prettier/prettier: off' --cache",
"lint:type-check": "tsc -p ./tsconfig.json --noEmit",
"lint:secret": "secretlint '**/*'",
"start": "run-p start:lib start:es",
"start:es": "tsc -p ./tsconfig.esm.json -w",
"start:lib": "tsc -p ./tsconfig.cjs.json -w",
"test": "yarn test:watch",
"test:once": "run-s test:once:*",
"test:once:web": "jest -c jest.config.web.js",
"test:once:node": "jest -c jest.config.node.js",
"test:watch:web": "jest -c jest.config.web.js --watch",
"test:watch:node": "jest -c jest.config.node.js --watch",
"type-watch": "tsc -p . --noEmit -w"
},
"resolutions": {
"@types/estree": "1.0.6",
"elliptic": "^6.6.0"
},
"dependencies": {
"@protobuf-ts/runtime": "^2.9.4",
"await-lock": "^2.2.2",
"https-proxy-agent": "^7.0.6",
"lodash.clonedeep": "^4.5.0",
"proxy-from-env": "^1.1.0",
"qs": "^6.11.2",
"uuid": "^9.0.1",
"web-streams-polyfill": "^4.0.0",
"ws": "^8.12.0"
},
"devDependencies": {
"@aptpod/eslint-config-aptpod": "5.2.4",
"@aptpod/gitlab-template": "1.3.0",
"@aptpod/husky-config": "2.0.31",
"@aptpod/lint-staged-config": "3.0.1",
"@aptpod/prettier-config": "2.1.4",
"@aptpod/secretlint-config": "^0.0.5",
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
"@babel/preset-env": "^7.26.0",
"@protobuf-ts/plugin": "^2.9.4",
"@types/eslint": "7.29.0",
"@types/jest": "29.5.14",
"@types/lodash.clonedeep": "^4.5.9",
"@types/node": "^18.17.19",
"@types/prettier": "2.7.3",
"@types/proxy-from-env": "^1.0.4",
"@types/qs": "^6.9.17",
"@types/standard-version": "7.1.3",
"@types/uuid": "^9.0.8",
"@types/ws": "^8.5.13",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"babel-jest": "^29.7.0",
"chokidar-cli": "^3.0.0",
"commander": "^10.0.1",
"eslint": "7.32.0",
"eslint-import-resolver-typescript": "^3.7.0",
"jest": "29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-websocket-mock": "^2.4.1",
"live-server": "1.2.2",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"secretlint": "^4.2.0",
"sort-package-json": "2.12.0",
"standard-version": "9.5.0",
"ts-jest": "29.1.5",
"ts-loader": "^9.5.1",
"tsc-alias": "^1.8.10",
"typedoc": "0.23.6",
"typescript": "4.9.5",
"utility-types": "^3.11.0"
},
"engines": {
"node": ">=18.12.0"
}
}