mirror of
https://github.com/SunnyQjm/taro-cropper.git
synced 2026-06-03 08:16:46 +08:00
82 lines
2.5 KiB
JSON
82 lines
2.5 KiB
JSON
{
|
|
"name": "taro-cropper",
|
|
"version": "1.2.3",
|
|
"private": false,
|
|
"description": "Taro框架下的图片裁剪组件封装,开箱即用",
|
|
"browser": "dist/index.umd.js",
|
|
"module": "dist/index.esm.js",
|
|
"main": "dist/index.js",
|
|
"source": "src/index.ts",
|
|
"templateInfo": {
|
|
"name": "default",
|
|
"typescript": true,
|
|
"css": "sass"
|
|
},
|
|
"types": "types/index.d.ts",
|
|
"files": [
|
|
"lib",
|
|
"dist",
|
|
"types",
|
|
"README.md"
|
|
],
|
|
"publishConfig": {
|
|
"tag": "react"
|
|
},
|
|
"scripts": {
|
|
"dev": "yarn run dev:lib",
|
|
"dev:lib": "tsc --project ./tsconfig.build.json --watch --incremental",
|
|
"build": "yarn run build:rollup && yarn run build:lib",
|
|
"build:lib": "tsc --project ./tsconfig.build.json --declaration --declarationDir types",
|
|
"build:rollup": "rollup --config ./rollup.config.js",
|
|
"prepublishOnly": "yarn run clean && yarn run build",
|
|
"lint": "eslint ./src --fix",
|
|
"lint:style": "stylelint \"src/**/*.scss\" --syntax scss",
|
|
"lint:style-fix": "stylelint \"src/**/*.scss\" --syntax scss --fix",
|
|
"test": "cross-env NODE_ENV=test && jest --coverage",
|
|
"test:ci": "yarn run build:h5 && yarn run test",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
|
"clean": "rimraf .temp dist lib coverage"
|
|
},
|
|
"keywords": [
|
|
"taro", "cropper", "taro-cropper"
|
|
],
|
|
"author": "SunnyQjm",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^13.0.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^8.0.1",
|
|
"@tarojs/components": "^3.0.10",
|
|
"@tarojs/react": "^3.0.10",
|
|
"@tarojs/taro": "^3.0.10",
|
|
"@types/node": "^14.0.13",
|
|
"@types/react": "^16.9.36",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@typescript-eslint/eslint-plugin": "^2.x",
|
|
"@typescript-eslint/parser": "^2.x",
|
|
"cross-env": "^7.0.2",
|
|
"eslint": "^7.2.0",
|
|
"eslint-config-taro": "^3.0.10",
|
|
"eslint-plugin-import": "^2.21.2",
|
|
"eslint-plugin-react": "^7.20.0",
|
|
"eslint-plugin-react-hooks": "^4.0.4",
|
|
"jest": "26",
|
|
"rimraf": "3.0.2",
|
|
"rollup": "^2.16.1",
|
|
"rollup-plugin-copy": "^3.3.0",
|
|
"rollup-plugin-typescript2": "^0.27.1",
|
|
"rollup-plugin-visualizer": "^4.0.4",
|
|
"stylelint": "13.6.0",
|
|
"stylelint-config-standard": "20.0.0",
|
|
"stylelint-scss": "3.17.2",
|
|
"ts-jest": "26",
|
|
"typescript": "^3.9.5"
|
|
},
|
|
"peerDependencies": {
|
|
"@tarojs/components": "^3.0.10",
|
|
"@tarojs/react": "^3.0.10",
|
|
"react": ">=16.13.0",
|
|
"react-dom": ">=16.13.0"
|
|
}
|
|
}
|