legacy-extends
Version:
Helper to extend a class including defining super_ and superConstruct (optional) on the derived class. Compatible with Node.js inherits and handles es6 classes using Reflect API
61 lines (60 loc) • 1.48 kB
JSON
{
"name": "legacy-extends",
"version": "1.1.0",
"description": "Helper to extend a class including defining super_ and superConstruct (optional) on the derived class. Compatible with Node.js inherits and handles es6 classes using Reflect API",
"keywords": [
"extends",
"extend",
"inherits",
"constructor",
"super",
"superConstruct",
"ensureProperties",
"Reflect",
"reflect",
"construct",
"class",
"classes",
"babel",
"es3",
"es5"
],
"homepage": "https://github.com/kmalakoff/legacy-extends",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/kmalakoff/legacy-extends.git"
},
"license": "MIT",
"author": "Kevin Malakoff <kmalakoff@gmail.com> (https://github.com/kmalakoff)",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.cts",
"files": [
"dist"
],
"scripts": {
"build": "tsds build",
"format": "biome check --write --unsafe",
"test": "mocha --no-timeouts test/**/*.test.*",
"test:engines": "nvu engines tsds test:node --no-timeouts",
"version": "tsds version"
},
"devDependencies": {
"@types/mocha": "*",
"@types/node": "*",
"semver-compare": "*"
},
"engines": {
"node": ">=0.8"
},
"tsds": {
"source": "src/index.ts"
}
}