2018-02-28 01:20:01 +03:00
|
|
|
{
|
2019-05-21 12:38:23 +03:00
|
|
|
"name": "@github/clipboard-copy-element",
|
2020-01-20 19:28:38 +03:00
|
|
|
"version": "1.1.2",
|
2018-02-28 01:20:01 +03:00
|
|
|
"description": "Copy element text content or input values to the clipboard.",
|
|
|
|
"repository": "github/clipboard-copy-element",
|
2020-05-21 23:10:07 +03:00
|
|
|
"main": "dist/index.js",
|
|
|
|
"type": "module",
|
|
|
|
"module": "dist/index.js",
|
|
|
|
"types": "dist/index.d.ts",
|
2023-06-08 17:13:50 +03:00
|
|
|
"exports": {
|
|
|
|
".": "./dist/index.js",
|
|
|
|
"./define": "./dist/index.js",
|
2023-06-08 17:28:45 +03:00
|
|
|
"./clipboard-copy": "./dist/clipboard-copy-element.js",
|
|
|
|
"./clipboard-copy/define": "./dist/clipboard-copy-element-define.js"
|
2023-06-08 17:13:50 +03:00
|
|
|
},
|
2018-02-28 01:20:01 +03:00
|
|
|
"scripts": {
|
|
|
|
"clean": "rm -rf dist",
|
2020-05-23 00:21:48 +03:00
|
|
|
"lint": "eslint . --ext .js,.ts && tsc --noEmit",
|
2023-06-08 17:13:50 +03:00
|
|
|
"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",
|
2019-08-08 13:20:58 +03:00
|
|
|
"prepublishOnly": "npm run build",
|
2023-06-08 17:13:50 +03:00
|
|
|
"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"
|
2018-02-28 01:20:01 +03:00
|
|
|
},
|
2018-03-28 22:11:08 +03:00
|
|
|
"keywords": [
|
|
|
|
"clipboard"
|
|
|
|
],
|
2018-02-28 01:20:01 +03:00
|
|
|
"license": "MIT",
|
2018-03-28 22:11:08 +03:00
|
|
|
"files": [
|
2020-05-21 23:10:07 +03:00
|
|
|
"dist"
|
2018-03-28 22:11:08 +03:00
|
|
|
],
|
2020-05-21 23:10:07 +03:00
|
|
|
"prettier": "@github/prettier-config",
|
2018-02-28 01:20:01 +03:00
|
|
|
"devDependencies": {
|
2023-06-08 17:13:50 +03:00
|
|
|
"@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",
|
2024-09-16 01:00:01 +03:00
|
|
|
"@web/test-runner": "^0.19.0",
|
|
|
|
"@web/test-runner-playwright": "^0.11.0",
|
2019-01-07 23:35:11 +03:00
|
|
|
"chai": "^4.2.0",
|
2022-01-29 03:53:56 +03:00
|
|
|
"chromium": "^3.0.3",
|
2023-06-08 17:13:50 +03:00
|
|
|
"esbuild": "^0.17.19",
|
|
|
|
"eslint": "^8.42.0",
|
|
|
|
"eslint-plugin-custom-elements": "^0.0.8",
|
|
|
|
"eslint-plugin-github": "^4.8.0",
|
2022-03-29 18:07:49 +03:00
|
|
|
"karma": "^6.3.16",
|
2018-04-17 23:10:02 +03:00
|
|
|
"karma-chai": "^0.1.0",
|
2019-10-08 17:51:23 +03:00
|
|
|
"karma-chrome-launcher": "^3.1.0",
|
2020-05-21 23:10:07 +03:00
|
|
|
"karma-mocha": "^2.0.1",
|
2018-04-17 23:10:02 +03:00
|
|
|
"karma-mocha-reporter": "^2.2.5",
|
2022-11-10 14:20:17 +03:00
|
|
|
"mocha": "^10.1.0",
|
2020-05-21 23:10:07 +03:00
|
|
|
"rollup": "^1.32.1",
|
2023-06-08 17:13:50 +03:00
|
|
|
"typescript": "^5.1.3"
|
2019-02-25 12:43:01 +03:00
|
|
|
},
|
|
|
|
"eslintIgnore": [
|
|
|
|
"dist/"
|
2023-06-08 17:13:50 +03:00
|
|
|
],
|
|
|
|
"customElements": "custom-elements.json"
|
2018-02-28 01:20:01 +03:00
|
|
|
}
|