UNPKG

ts-import-plugin

Version:
131 lines (130 loc) 3.46 kB
{ "name": "ts-import-plugin", "version": "3.0.0", "description": "babel-plugin-import TypeScript version", "main": "./index.js", "module": "./esm/index.js", "jsnext:main": "./next/index.js", "typings": "./lib/index.d.ts", "scripts": { "build": "yarn build:cjs && yarn build:esm && yarn build:next", "build:cjs": "shx rm -rf lib && tsc -p src/tsconfig.json", "build:esm": "tsc -p src/tsconfig.json -m esnext --outDir esm -d false", "build:next": "tsc -p src/tsconfig.json -m esnext --target ES2018 --outDir next -d false", "cover": "rm -rf ./coverage && c8 --reporter=lcov --exclude=node_modules --exclude=test ava && c8 report", "lint": "eslint . -c ./.eslintrc.yml 'src/**/*.{ts,tsx}' './*.js'", "start": "rm -rf dist && NODE_ENV=production webpack", "test": "ava", "watch": "tsc -p ./src/tsconfig.json -w --diagnostics", "_postinstall": "husky install", "prepublishOnly": "pinst --disable", "postpublish": "pinst --enable" }, "repository": { "type": "git", "url": "git@github.com:Brooooooklyn/ts-import-plugin.git" }, "keywords": [ "antd", "TypeScript", "plugin" ], "files": [ "lib/", "esm/", "next/", "index.js", "LICENSE" ], "author": { "name": "LongYinan", "email": "github@lyn.one", "url": "https://lyn.one" }, "license": "MIT", "devDependencies": { "@swc-node/register": "^1.6.4", "@swc/core": "^1.3.50", "@types/lodash": "^4.14.194", "@types/material-ui": "^0.21.12", "@types/node": "^18.15.11", "@types/react": "^18.0.35", "@types/react-dom": "^18.0.11", "@typescript-eslint/parser": "^5.58.0", "antd": "^5.4.2", "ava": "^5.2.0", "c8": "^7.13.0", "css-loader": "^6.7.3", "cssnano": "^6.0.0", "eslint": "^8.38.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-sonarjs": "^0.19.0", "husky": "8", "json-schema": "^0.4.0", "lint-staged": "^13.2.1", "lodash": "^4.17.21", "lodash-es": "^4.17.21", "mini-css-extract-plugin": "^2.7.5", "pinst": "^3.0.0", "postcss": "^8.4.21", "postcss-loader": "^7.2.4", "prettier": "^2.8.7", "react": "^18.2.0", "react-dom": "^18.2.0", "rollup": "^3.20.2", "rollup-plugin-typescript2": "^0.34.1", "rxjs": "^7.8.0", "shx": "^0.3.4", "source-map-support": "^0.5.21", "style-loader": "^3.3.2", "ts-loader": "^9.4.2", "ts-node": "^10.9.1", "typescript": "^5.0.4", "webpack": "^5.79.0", "webpack-bundle-analyzer": "^4.8.0", "webpack-cli": "^5.0.1" }, "peerDependencies": { "typescript": ">= 4.8" }, "ava": { "extensions": [ "ts" ], "require": [ "@swc-node/register" ], "files": [ "test/specs.ts" ] }, "prettier": { "printWidth": 120, "semi": false, "trailingComma": "all", "singleQuote": true, "arrowParens": "always" }, "lint-staged": { "*.@(js|ts)": [ "eslint -c .eslintrc.yml --fix" ], "*.@(js|ts|md|json|yml|yaml)": [ "prettier --write" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "funding": { "type": "github", "url": "https://github.com/sponsors/Brooooooklyn" }, "packageManager": "yarn@3.5.0" }