2018-02-28 01:20:01 +03:00
|
|
|
{
|
2019-05-21 12:38:23 +03:00
|
|
|
"name": "@github/clipboard-copy-element",
|
2019-11-06 21:29:25 +03:00
|
|
|
"version": "1.1.1",
|
2018-02-28 01:20:01 +03:00
|
|
|
"description": "Copy element text content or input values to the clipboard.",
|
|
|
|
"repository": "github/clipboard-copy-element",
|
|
|
|
"main": "dist/index.umd.js",
|
|
|
|
"module": "dist/index.esm.js",
|
2019-07-22 18:23:03 +03:00
|
|
|
"types": "index.d.ts",
|
2018-02-28 01:20:01 +03:00
|
|
|
"scripts": {
|
|
|
|
"clean": "rm -rf dist",
|
2019-02-25 12:36:06 +03:00
|
|
|
"lint": "github-lint",
|
2018-02-28 01:20:01 +03:00
|
|
|
"prebuild": "npm run clean && npm run lint",
|
2018-04-10 23:27:56 +03:00
|
|
|
"build": "rollup -c && cp src/clipboard-copy-element.js.flow dist/index.esm.js.flow && cp src/clipboard-copy-element.js.flow dist/index.umd.js.flow",
|
2018-04-17 23:10:02 +03:00
|
|
|
"pretest": "npm run build",
|
|
|
|
"test": "karma start test/karma.config.js",
|
2019-08-08 13:20:58 +03:00
|
|
|
"prepublishOnly": "npm run build",
|
|
|
|
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
|
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": [
|
2019-07-22 18:23:03 +03:00
|
|
|
"dist",
|
|
|
|
"index.d.ts"
|
2018-03-28 22:11:08 +03:00
|
|
|
],
|
2018-02-28 01:20:01 +03:00
|
|
|
"devDependencies": {
|
2019-10-08 17:51:23 +03:00
|
|
|
"@babel/core": "^7.6.2",
|
|
|
|
"babel-preset-github": "^3.2.1",
|
2019-01-07 23:35:11 +03:00
|
|
|
"chai": "^4.2.0",
|
2019-10-08 17:51:23 +03:00
|
|
|
"eslint": "^6.5.1",
|
|
|
|
"eslint-plugin-github": "^3.1.3",
|
2019-11-05 01:16:52 +03:00
|
|
|
"flow-bin": "^0.111.1",
|
2019-10-08 17:51:23 +03:00
|
|
|
"karma": "^4.3.0",
|
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",
|
2018-04-17 23:10:02 +03:00
|
|
|
"karma-mocha": "^1.3.0",
|
|
|
|
"karma-mocha-reporter": "^2.2.5",
|
2019-10-08 17:51:23 +03:00
|
|
|
"mocha": "^6.2.1",
|
|
|
|
"rollup": "^1.23.1",
|
2019-07-05 13:45:21 +03:00
|
|
|
"rollup-plugin-babel": "^4.3.3"
|
2019-02-25 12:43:01 +03:00
|
|
|
},
|
|
|
|
"eslintIgnore": [
|
|
|
|
"dist/"
|
|
|
|
]
|
2018-02-28 01:20:01 +03:00
|
|
|
}
|