es6-class-prototype
Version:
get prototype from es6 class, like old way
101 lines (100 loc) • 3.92 kB
JSON
{
"name": "es6-class-prototype",
"version": "2.0.0",
"description": "get prototype from es6 class, like old way",
"keywords": [
"class",
"classes",
"es6",
"extend",
"inherit",
"javascript",
"proto",
"prototype",
"prototypes",
"create-by-yarn-tool",
"create-by-tsdx"
],
"homepage": "https://github.com/bluelovers/es6-class-prototype#readme",
"bugs": {
"url": "https://github.com/bluelovers/es6-class-prototype/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bluelovers/es6-class-prototype.git"
},
"license": "ISC",
"author": "bluelovers",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.mjs",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json",
"./src/*": "./src/*"
},
"main": "dist/index.cjs",
"unpkg": "dist/index.umd.production.min.cjs",
"module": "dist/index.esm.mjs",
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"directories": {
"test": "test"
},
"scripts": {
"pretest": "echo pretest",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:clearCache": "jest --clearCache",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"test:tsd": "ynpx tsd",
"posttest": "yarn run build",
"install:frozenLockfile": "yarn-tool install --frozen-lockfile",
"install:resetLockfile": "yarn-tool install --reset-lockfile",
"build": "yarn run build:tsdx && yarn run build:dts:tsc",
"build:dts:bundle": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle",
"build:dts:copy": "copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts",
"build:dts:tsc": "yarn run build:dts:copy && yarn run build:dts:tsc:emit && yarn run build:dts:copy",
"build:dts:tsc:emit": "tsc --emitDeclarationOnly --declaration --noEmit false",
"build:tsdx": "ynpx @bluelovers/tsdx build --target node",
"ci:install": "yarn install --frozen-lockfile && yarn add -W yarn-tool lerna ynpx ts-node ts-jest jest typescript@next @bluelovers/jest-config",
"ci:build": "echo ci:build",
"npm:publish": "npm publish",
"npm:publish:bump": "yarn run version:bump && npm publish",
"ws:fix-all": "yarn-tool fix-all --overwriteHostedGitInfo",
"ws:fix-all:resetStaticFiles": "yarn run ws:fix-all -- --resetStaticFiles",
"preversion": "echo preversion && yarn run test",
"version": "echo version",
"version:bump": "yarn-tool version",
"postversion": "echo postversion",
"prepublish": "echo prepublish",
"prepare": "echo prepare",
"prepublishOnly": "yarn run preversion",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
"prepublishOnly:update": "yarn run ncu && yarn run sort-package-json",
"prepack": "echo prepack",
"pack": "echo pack",
"postpack": "echo postpack",
"publish": "echo publish",
"postpublish": "yarn run postpublish:changelog && yarn run postpublish:git:commit && yarn run postpublish:git:tag && yarn run postpublish:git:push",
"postpublish:changelog": "ynpx --quiet @yarn-tool/changelog && git add ./CHANGELOG.md",
"postpublish:git:commit": "git commit -m \"chore(release): publish\" . & echo postpublish:git:commit",
"postpublish:git:push": "git push --follow-tags",
"postpublish:git:tag": "ynpx --quiet @yarn-tool/tag",
"postpublishOnly": "echo postpublishOnly",
"ncu": "yarn-tool ncu -u",
"sort-package-json": "yarn-tool sort",
"tsc:showConfig": "ynpx get-current-tsconfig -p"
},
"dependencies": {
"class-proxy": "^2.0.0"
},
"devDependencies": {
"@bluelovers/tsconfig": "^1.0.31",
"@types/node": "^18.11.0"
},
"packageManager": "yarn@1.22.19"
}