2018-02-28 01:20:01 +03:00
|
|
|
{
|
|
|
|
"name": "clipboard-copy-element",
|
2018-04-19 18:20:58 +03:00
|
|
|
"version": "0.4.0",
|
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",
|
|
|
|
"scripts": {
|
|
|
|
"clean": "rm -rf dist",
|
2018-04-17 23:10:02 +03:00
|
|
|
"lint": "eslint src/ test/ && flow check",
|
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",
|
2018-02-28 01:20:01 +03:00
|
|
|
"prepublishOnly": "npm run build"
|
|
|
|
},
|
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": [
|
|
|
|
"dist"
|
|
|
|
],
|
2018-02-28 01:20:01 +03:00
|
|
|
"devDependencies": {
|
|
|
|
"babel-cli": "^6.26.0",
|
|
|
|
"babel-plugin-transform-custom-element-classes": "^0.1.0",
|
|
|
|
"babel-preset-es2015-rollup": "^3.0.0",
|
|
|
|
"babel-preset-flow": "^6.23.0",
|
2018-04-17 23:10:02 +03:00
|
|
|
"chai": "^4.1.2",
|
2018-08-22 00:04:38 +03:00
|
|
|
"eslint": "^5.4.0",
|
|
|
|
"eslint-plugin-github": "^1.2.1",
|
2019-01-07 23:33:34 +03:00
|
|
|
"flow-bin": "^0.89.0",
|
2018-08-22 00:04:38 +03:00
|
|
|
"karma": "^3.0.0",
|
2018-04-17 23:10:02 +03:00
|
|
|
"karma-chai": "^0.1.0",
|
|
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
|
|
"karma-mocha": "^1.3.0",
|
|
|
|
"karma-mocha-reporter": "^2.2.5",
|
2018-08-22 00:04:38 +03:00
|
|
|
"mocha": "^5.2.0",
|
|
|
|
"rollup": "^0.64.1",
|
|
|
|
"rollup-plugin-babel": "^3.0.7"
|
2018-02-28 01:20:01 +03:00
|
|
|
}
|
|
|
|
}
|