image-crop-element/package.json

56 строки
1.8 KiB
JSON

{
"name": "@github/image-crop-element",
"version": "5.0.0",
"description": "Select area for cropping an image. This does not actually crop.",
"main": "dist/index.js",
"module": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"files": [
"dist",
"index.css",
"index.d.ts"
],
"exports": {
".": "./dist/index.js",
"./define": "./dist/index.js",
"./image-crop": "./dist/image-crop-element.js",
"./image-crop/define": "./dist/image-crop-element-define.js"
},
"scripts": {
"clean": "rm -rf dist",
"lint": "eslint . --ext .js,.ts && tsc --noEmit",
"lint:fix": "npm run lint -- --fix",
"prebuild": "npm run clean && npm run lint && mkdir dist",
"bundle": "esbuild --bundle dist/index.js --keep-names --outfile=dist/bundle.js --format=esm",
"build": "tsc && npm run bundle && npm run manifest",
"prepublishOnly": "npm run build",
"pretest": "npm run build",
"test": "web-test-runner",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'",
"manifest": "custom-elements-manifest analyze"
},
"keywords": [
"crop",
"image",
"custom element"
],
"license": "MIT",
"repository": "github/image-crop-element",
"prettier": "@github/prettier-config",
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.8.3",
"@github/prettier-config": "^0.0.6",
"@open-wc/testing": "^3.1.8",
"@web/dev-server-esbuild": "^0.4.1",
"@web/test-runner": "^0.19.0",
"@web/test-runner-playwright": "^0.11.0",
"esbuild": "^0.17.19",
"eslint": "^8.42.0",
"eslint-plugin-custom-elements": "^0.0.8",
"eslint-plugin-github": "^4.8.0",
"typescript": "^5.1.3"
},
"customElements": "custom-elements.json"
}