chinese-simple2traditional
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "chinese-simple2traditional", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "中文繁简体互换。支持node端、浏览器端", | ||
"main": "dist/chinese-simple2traditional.js", | ||
"scripts": { | ||
"watch": "rollup -c -w", | ||
"build": "rollup -c", | ||
"test": "ava --color", | ||
"release": "npm run build && npm publish" | ||
}, | ||
"types": "./types/global.d.ts", | ||
"files": [ | ||
"dist/*.js", | ||
"src" | ||
], | ||
"keywords": [ | ||
@@ -29,4 +17,37 @@ "中文", | ||
"maintainers": [ | ||
"pengzhanbo" | ||
"pengzhanbo" | ||
], | ||
"type": "module", | ||
"types": "dist/index.d.ts", | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.js", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.cjs", | ||
"import": "./dist/index.js" | ||
} | ||
}, | ||
"scripts": { | ||
"build": "tsup", | ||
"test": "ava --color", | ||
"release": "npm run build && npm publish" | ||
}, | ||
"tsup": { | ||
"format": [ | ||
"cjs", | ||
"esm", | ||
"iife" | ||
], | ||
"entry": [ | ||
"src/index.ts" | ||
], | ||
"globalName": "chineseSimple2Traditional", | ||
"sourcemap": false, | ||
"dts": true, | ||
"splitting": false, | ||
"clean": true | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"license": "MIT", | ||
@@ -41,36 +62,17 @@ "homepage": "https://github.com/pengzhanbo/chinese-simple2traditional", | ||
}, | ||
"prettier": "@pengzhanbo/prettier-config", | ||
"devDependencies": { | ||
"@babel/core": "^7.16.5", | ||
"@babel/plugin-proposal-class-properties": "^7.16.5", | ||
"@babel/plugin-proposal-decorators": "^7.16.5", | ||
"@babel/plugin-proposal-numeric-separator": "^7.16.5", | ||
"@babel/plugin-transform-property-mutators": "^7.16.5", | ||
"@babel/plugin-transform-runtime": "^7.16.5", | ||
"@babel/preset-env": "^7.16.5", | ||
"@babel/preset-typescript": "^7.16.5", | ||
"@babel/runtime": "^7.16.5", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"@rollup/plugin-commonjs": "^21.0.1", | ||
"@rollup/plugin-eslint": "^8.0.1", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^13.1.1", | ||
"@typescript-eslint/eslint-plugin": "^5.7.0", | ||
"@typescript-eslint/parser": "^5.7.0", | ||
"ava": "^3.15.0", | ||
"browser-env": "^3.3.0", | ||
"eslint": "^8.5.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"parcel-bundler": "^1.12.5", | ||
"prettier": "^2.5.1", | ||
"rollup": "^2.61.1", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"ts-node": "^10.4.0", | ||
"typescript": "^4.5.4" | ||
"@pengzhanbo/eslint-config-ts": "^0.2.10", | ||
"@pengzhanbo/prettier-config": "^0.2.10", | ||
"@types/node": "^18.11.13", | ||
"ava": "^5.1.0", | ||
"eslint": "^8.29.0", | ||
"prettier": "^2.8.1", | ||
"ts-node": "^10.9.1", | ||
"tsup": "^6.5.0", | ||
"typescript": "^4.9.4" | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not ie <= 8" | ||
] | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9
Yes
112791
7
536
1