file-attachment-element/package.json

42 строки
1.3 KiB
JSON

{
"name": "@github/file-attachment-element",
"version": "3.1.0",
"description": "Attach files via drag and drop or file input.",
"main": "dist/index.umd.js",
"module": "dist/index.js",
"types": "dist/file-attachment-element.d.ts",
"license": "MIT",
"repository": "github/file-attachment-element",
"files": [
"dist"
],
"scripts": {
"clean": "rm -rf dist",
"lint": "eslint --report-unused-disable-directives src/*.ts test/*.js",
"prebuild": "npm run clean && npm run lint && npm run compile",
"compile": "tsc",
"build": "rollup -c",
"pretest": "npm run build",
"test": "karma start karma.config.js",
"prepublishOnly": "npm run build",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
},
"prettier": "@github/prettier-config",
"devDependencies": {
"@github/prettier-config": "0.0.4",
"chai": "^4.3.4",
"chromium": "^3.0.3",
"eslint": "^7.26.0",
"eslint-plugin-custom-elements": "^0.0.2",
"eslint-plugin-github": "^4.1.3",
"karma": "^6.3.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^8.4.0",
"rollup": "^2.48.0",
"typescript": "^4.2.4"
}
}