| 1 |
{ |
| 2 |
"name": "clipboard", |
| 3 |
"version": "2.0.11", |
| 4 |
"description": "Modern copy to clipboard. No Flash. Just 2kb", |
| 5 |
"homepage": "https://clipboardjs.com", |
| 6 |
"repository": "zenorocha/clipboard.js", |
| 7 |
"license": "MIT", |
| 8 |
"main": "dist/clipboard.js", |
| 9 |
"types": "src/clipboard.d.ts", |
| 10 |
"keywords": [ |
| 11 |
"clipboard", |
| 12 |
"copy", |
| 13 |
"cut" |
| 14 |
], |
| 15 |
"dependencies": { |
| 16 |
"good-listener": "^1.2.2", |
| 17 |
"select": "^1.1.2", |
| 18 |
"tiny-emitter": "^2.0.0" |
| 19 |
}, |
| 20 |
"devDependencies": { |
| 21 |
"@babel/core": "^7.12.10", |
| 22 |
"@babel/preset-env": "^7.12.11", |
| 23 |
"babel-loader": "^8.2.2", |
| 24 |
"chai": "^4.2.0", |
| 25 |
"cross-env": "^7.0.3", |
| 26 |
"eslint": "^7.20.0", |
| 27 |
"eslint-config-airbnb-base": "^14.2.1", |
| 28 |
"eslint-config-prettier": "^7.2.0", |
| 29 |
"eslint-plugin-import": "^2.22.1", |
| 30 |
"eslint-plugin-prettier": "^3.3.1", |
| 31 |
"husky": "^5.0.9", |
| 32 |
"karma": "^6.0.0", |
| 33 |
"karma-chai": "^0.1.0", |
| 34 |
"karma-chrome-launcher": "^3.1.0", |
| 35 |
"karma-mocha": "^2.0.1", |
| 36 |
"karma-sinon": "^1.0.4", |
| 37 |
"karma-webpack": "^5.0.0-alpha.5", |
| 38 |
"lint-staged": "^10.5.3", |
| 39 |
"mocha": "^8.2.1", |
| 40 |
"prettier": "2.2.1", |
| 41 |
"sinon": "^9.2.3", |
| 42 |
"tsd": "^0.7.2", |
| 43 |
"uglifyjs-webpack-plugin": "^2.2.0", |
| 44 |
"webpack": "^5.15.0", |
| 45 |
"webpack-cli": "^4.4.0" |
| 46 |
}, |
| 47 |
"scripts": { |
| 48 |
"test:types": "tsd", |
| 49 |
"build": "npm run build-debug && npm run build-min", |
| 50 |
"build-debug": "webpack", |
| 51 |
"build-min": "cross-env NODE_ENV=production webpack", |
| 52 |
"build-watch": "webpack --watch", |
| 53 |
"test": "karma start --single-run", |
| 54 |
"prepublish": "npm run build", |
| 55 |
"lint": "eslint --ext .js src/" |
| 56 |
}, |
| 57 |
"lint-staged": { |
| 58 |
"*.{js,css,md}": [ |
| 59 |
"prettier --write", |
| 60 |
"eslint --fix" |
| 61 |
] |
| 62 |
} |
| 63 |
} |