UNPKG

dts-cli

Version:

Zero-config TypeScript package development

181 lines (180 loc) 5.26 kB
{ "name": "dts-cli", "version": "2.0.5", "author": "唯然<weiran.zsd@outlook.com>", "description": "Zero-config TypeScript package development", "license": "MIT", "homepage": "https://github.com/weiran-zsd/dts-cli", "repository": { "type": "git", "url": "git+https://github.com/weiran-zsd/dts-cli.git" }, "keywords": [ "react", "typescript", "bundle", "rollup" ], "bugs": { "url": "https://github.com/weiran-zsd/dts-cli/issues" }, "bin": { "dts": "./dist/index.js" }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": { "build": "tsc -p tsconfig.json", "lint": "npm run build && npm run lint:post-build", "lint:post-build": "node dist/index.js lint ./ --ignore-pattern 'test/e2e/fixtures/'", "test": "npm run build && npm run test:post-build", "test:post-build": "node dist/index.js test", "start": "tsc -p tsconfig.json --watch", "release": "npm run test && release-it", "release:beta": "npm run test && release-it major --preRelease=beta", "doctoc": "doctoc README.md", "prepare": "husky install" }, "files": [ "dist", "templates", "conf" ], "engines": { "node": "^16.0.0 || >=18.0.0" }, "dependencies": { "@babel/core": "^7.24.3", "@babel/helper-module-imports": "^7.24.3", "@babel/parser": "^7.24.1", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/preset-env": "^7.24.3", "@babel/traverse": "^7.24.1", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^24.1.0", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-terser": "^0.4.4", "@types/jest": "^29.5.12", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "ansi-escapes": "^4.3.2", "asyncro": "^3.0.0", "babel-jest": "^29.7.0", "babel-plugin-annotate-pure-calls": "^0.4.0", "babel-plugin-dev-expression": "^0.2.3", "babel-plugin-macros": "^3.1.0", "babel-plugin-polyfill-regenerator": "^0.6.1", "babel-plugin-transform-rename-import": "^2.3.0", "camelcase": "^6.3.0", "chalk": "^4.1.2", "confusing-browser-globals": "^1.0.11", "enquirer": "^2.4.1", "eslint": "^8.37.0", "eslint-config-prettier": "^8.10.0", "eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jest": "^27.9.0", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.34.1", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-testing-library": "^5.11.1", "execa": "^4.1.0", "figlet": "^1.7.0", "fs-extra": "^10.1.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.7.0", "jest-watch-typeahead": "^2.2.2", "jpjs": "^1.2.1", "lodash.merge": "^4.6.2", "ora": "^5.4.1", "pascal-case": "^3.1.2", "postcss": "^8.4.38", "prettier": "^2.8.1", "progress-estimator": "^0.3.1", "regenerator-runtime": "^0.14.1", "rollup": "^3.20.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-dts": "^5.3.1", "rollup-plugin-typescript2": "^0.36.0", "sade": "^1.8.1", "semver": "^7.6.0", "shelljs": "^0.8.5", "sort-package-json": "^1.57.0", "tiny-glob": "^0.2.9", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "tslib": "^2.6.2", "type-fest": "^2.19.0", "typescript": "^5.0.2" }, "devDependencies": { "@commitlint/cli": "^16.3.0", "@commitlint/config-conventional": "^16.2.4", "@release-it/conventional-changelog": "^5.1.1", "@types/cssnano": "^5.1.0", "@types/eslint": "^8.56.7", "@types/figlet": "^1.5.8", "@types/fs-extra": "^9.0.13", "@types/lodash": "^4.17.0", "@types/node": "^16.18.94", "@types/react": "^18.2.74", "@types/rollup-plugin-json": "^3.0.7", "@types/semver": "^7.5.8", "@types/shelljs": "^0.8.15", "@types/styled-components": "^5.1.34", "auto-changelog": "^2.4.0", "autoprefixer": "^10.4.19", "babel-plugin-replace-identifiers": "^0.1.1", "cssnano": "^5.1.15", "doctoc": "^2.2.1", "dts-cli": "file:.", "husky": "^8.0.3", "lint-staged": "^15.2.2", "react": "^16.14.0", "react-dom": "^16.14.0", "react-is": "^16.13.1", "release-it": "^15.11.0", "rollup-plugin-postcss": "^4.0.2", "styled-components": "^5.3.11", "tiny-invariant": "^1.3.3", "tiny-warning": "^1.0.3" }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "release-it": { "git": { "commitMessage": "chore: release v${version}" }, "plugins": { "@release-it/conventional-changelog": { "preset": "conventionalcommits", "infile": "CHANGELOG.md" } }, "github": { "release": true }, "npm": { "skipChecks": true } }, "lint-staged": { "*.{js,jsx,ts,tsx,md,json,yml,yaml}": [ "prettier -w" ], "*.{js,jsx,ts,tsx}": [ "node dist/index.js lint --fix" ] } }