UNPKG

@dozerg/no-new

Version:

Convert ES6 class constructor to normal function.

60 lines (59 loc) 1.57 kB
{ "name": "@dozerg/no-new", "version": "0.0.9", "description": "Convert ES6 class constructor to normal function.", "bugs": { "url": "https://github.com/daidodo/no-new/issues" }, "homepage": "https://github.com/daidodo/no-new#readme", "repository": { "type": "git", "url": "git+https://github.com/daidodo/no-new.git" }, "keywords": [ "new", "class", "function", "classes" ], "main": "dist/index.js", "types": "dist/index.d.ts", "private": false, "scripts": { "compile": "tsc", "compile:watch": "tsc -w", "build": "npm run compile", "test": "jest src/", "test:watch": "jest --watch src/", "clean": "rm -rf dist", "cleanall": "rm -rf dist node_modules *.tgz docs", "docs": "rm -rf docs && typedoc --plugin typedoc-plugin-markdown", "prepublishOnly": "npm run clean && npm i && tsc && eslint src/ && jest src/" }, "author": "Zhao DAI <daidodo@gmail.com>", "license": "MIT", "jest": { "preset": "ts-jest" }, "prettier": { "singleQuote": true, "trailingComma": "all", "printWidth": 100, "arrowParens": "avoid", "embeddedLanguageFormatting": "off" }, "devDependencies": { "@eslint/js": "^9.32.0", "@tsconfig/recommended": "^1.0.10", "@types/babel__core": "^7.20.5", "@types/jest": "^30.0.0", "eslint": "^9.32.0", "jest": "^30.0.5", "prettier": "^3.6.2", "ts-jest": "^29.4.0", "typedoc": "^0.28.8", "typedoc-plugin-markdown": "^4.8.0", "typescript": "^5.7.2", "typescript-eslint": "^8.38.0" } }