mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
bab9a89e86
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 27.5.1 to 28.0.2. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v28.0.2/packages/babel-jest) --- updated-dependencies: - dependency-name: babel-jest dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
178 lines
6.1 KiB
JSON
178 lines
6.1 KiB
JSON
{
|
|
"name": "naive-ui",
|
|
"version": "2.28.2",
|
|
"description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
|
|
"main": "lib/index.js",
|
|
"module": "es/index.js",
|
|
"scripts": {
|
|
"start": "pnpm run dev",
|
|
"dev": "pnpm run clean && pnpm run gen-version && pnpm run gen-volar-dts && cross-env NODE_ENV=development vite",
|
|
"build:package": "pnpm run gen-version && pnpm run clean && pnpm run gen-volar-dts && tsc -b --force tsconfig.esm.json && node scripts/pre-build/pre-cjs-build.js && tsc -b --force tsconfig.cjs.json && node scripts/post-build && rimraf {es,lib}/*.tsbuildinfo",
|
|
"build:site": "./scripts/pre-build-site/pre-build-site.sh && cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
|
|
"clean": "rimraf site lib es node_modules/naive-ui themes/**/es themes/**/lib",
|
|
"release:package": "pnpm run test && pnpm run build:package && pnpm publish --no-git-checks",
|
|
"release:changelog": "node scripts/release-changelog",
|
|
"lint": "pnpm run lint:code && pnpm run lint:type",
|
|
"lint:type": "pnpm run lint:src-type && pnpm run lint:demo-type",
|
|
"lint:code": "eslint \"{src,build,scripts,demo}/**/*.{ts,tsx,js,vue,md}\"",
|
|
"lint:fix": "eslint --fix \"{src,build,scripts,demo}/**/*.{ts,tsx,js,vue,md}\"",
|
|
"lint:src-type": "tsc -b --force tsconfig.esm.json",
|
|
"lint:demo-type": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vue-tsc -p src/tsconfig.demo.json",
|
|
"format": "pnpm run format:code && pnpm run format:md && pnpm run lint:fix",
|
|
"format:code": "prettier --write \"(src|demo)/**/*.(vue|js)\"",
|
|
"format:md": "prettier --write --parser markdown --prose-wrap never \"(src|demo)/**/*.md\"",
|
|
"test": "cross-env NODE_ENV=test jest --collectCoverage=false",
|
|
"test:cov": "cross-env NODE_ENV=test NODE_OPTIONS=--unhandled-rejections=warn jest",
|
|
"test:watch": "cross-env NODE_ENV=test jest ---watch --verbose --coverage",
|
|
"gen-version": "node scripts/gen-version",
|
|
"gen-volar-dts": "esno scripts/gen-component-declaration",
|
|
"build:site:ts": "./scripts/pre-build-site/pre-build-site.sh && cross-env TUSIMPLE=true NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
|
|
"prepare": "husky install",
|
|
"transpile-docs": "node scripts/md-to-vue tree-select",
|
|
"release:site": "cross-env TUSIMPLE=true pnpm run build:site && node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh"
|
|
},
|
|
"author": "07akioni",
|
|
"license": "MIT",
|
|
"files": [
|
|
"es",
|
|
"lib",
|
|
"volar.d.ts",
|
|
"web-types.json",
|
|
"README.md"
|
|
],
|
|
"web-types": "./web-types.json",
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.ts": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.tsx": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.vue": [
|
|
"prettier --parser=vue --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.css": [
|
|
"prettier --write"
|
|
],
|
|
"*.md": [
|
|
"prettier --write --parser markdown --prose-wrap never",
|
|
"eslint --fix"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "^7.17.0",
|
|
"@babel/generator": "^7.17.9",
|
|
"@babel/parser": "^7.17.9",
|
|
"@babel/preset-env": "^7.16.11",
|
|
"@babel/traverse": "^7.17.9",
|
|
"@rollup/plugin-babel": "^5.3.1",
|
|
"@types/estree": "^0.0.51",
|
|
"@types/jest": "^27.4.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.18.0",
|
|
"@typescript-eslint/parser": "^5.18.0",
|
|
"@vicons/fluent": "^0.12.0",
|
|
"@vicons/ionicons4": "^0.12.0",
|
|
"@vicons/ionicons5": "^0.12.0",
|
|
"@vitejs/plugin-vue": "^2.3.1",
|
|
"@vue/compiler-sfc": "^3.2.31",
|
|
"@vue/eslint-config-standard": "^6.1.0",
|
|
"@vue/eslint-config-typescript": "^10.0.0",
|
|
"@vue/server-renderer": "^3.2.31",
|
|
"@vue/test-utils": "2.0.0-rc.16",
|
|
"autoprefixer": "^10.4.4",
|
|
"babel-jest": "^28.0.2",
|
|
"codesandbox": "^2.2.3",
|
|
"cross-env": "^7.0.3",
|
|
"cssnano": "^5.1.7",
|
|
"esbuild": "0.14.38",
|
|
"eslint": "^8.13.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-config-standard": "^17.0.0",
|
|
"eslint-config-standard-with-typescript": "^21.0.1",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-markdown": "^2.2.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
"eslint-plugin-vue": "^8.6.0",
|
|
"esno": "^0.14.1",
|
|
"express": "^4.17.3",
|
|
"fast-glob": "^3.2.11",
|
|
"fs-extra": "^10.0.1",
|
|
"husky": "^7.0.4",
|
|
"inquirer": "^8.2.2",
|
|
"jest": "^27.5.1",
|
|
"jest-canvas-mock": "^2.3.1",
|
|
"lint-staged": "^12.3.7",
|
|
"lyla": "^0.4.6",
|
|
"marked": "^4.0.13",
|
|
"prettier": "^2.6.2",
|
|
"rimraf": "^3.0.2",
|
|
"superagent": "^7.1.1",
|
|
"ts-jest": "^27.1.4",
|
|
"typescript": "^4.6.3",
|
|
"vite": "^2.9.5",
|
|
"vue": "^3.2.33",
|
|
"vue-router": "^4.0.14",
|
|
"vue-tsc": "0.34.10"
|
|
},
|
|
"peerDependencies": {
|
|
"vue": "^3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@css-render/plugin-bem": "^0.15.9",
|
|
"@css-render/vue3-ssr": "^0.15.9",
|
|
"@types/lodash": "^4.14.181",
|
|
"@types/lodash-es": "^4.17.6",
|
|
"async-validator": "^4.0.7",
|
|
"css-render": "^0.15.9",
|
|
"date-fns": "^2.28.0",
|
|
"date-fns-tz": "^1.3.3",
|
|
"evtd": "^0.2.3",
|
|
"highlight.js": "^11.5.0",
|
|
"lodash": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"seemly": "^0.3.3",
|
|
"treemate": "^0.3.11",
|
|
"vdirs": "^0.1.8",
|
|
"vfonts": "^0.0.3",
|
|
"vooks": "^0.2.12",
|
|
"vueuc": "^0.4.32"
|
|
},
|
|
"sideEffects": false,
|
|
"homepage": "https://www.naiveui.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/TuSimple/naive-ui"
|
|
},
|
|
"keywords": [
|
|
"naive-ui",
|
|
"component library",
|
|
"ui framework",
|
|
"ui",
|
|
"vue"
|
|
],
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"@babel/core",
|
|
"postcss",
|
|
"rollup",
|
|
"webpack"
|
|
],
|
|
"allowedVersions": {
|
|
"eslint": "^8.6.0",
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.9.1",
|
|
"eslint-plugin-vue": "^8.3.0"
|
|
}
|
|
}
|
|
}
|
|
}
|