1 | {
|
2 | "name": "@livelybone/copy",
|
3 | "version": "2.6.5",
|
4 | "description": "About clipboard copy, Object simple&deep copy",
|
5 | "main": "./lib/umd/index.js",
|
6 | "module": "./lib/es/index.js",
|
7 | "unpkg": "./lib/umd/index.js",
|
8 | "types": "./index.d.ts",
|
9 | "scripts": {
|
10 | "build:js": "cross-env NODE_ENV=production rollup -c",
|
11 | "build:dts": "cross-env NODE_ENV=production BUILD_ENV=dts rollup -c",
|
12 | "dev": "rimraf ./lib && cross-env BUILD_ENV=watch node watch.js",
|
13 | "build": "rimraf ./lib && npm run build:js",
|
14 | "build:test": "rimraf ./test-lib && cross-env NODE_ENV=test rollup -c rollup.config.test.js --sourcemap",
|
15 | "eslint": "eslint ./ --ext .ts,.js --fix",
|
16 | "test": "npm run build:test && cross-env NODE_ENV=test istanbul cover node_modules/mocha/bin/_mocha -- ./test",
|
17 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
18 | "commit": "git-cz"
|
19 | },
|
20 | "repository": {
|
21 | "type": "git",
|
22 | "url": "https://github.com/livelybone/copy.git"
|
23 | },
|
24 | "keywords": [
|
25 | "clipboard",
|
26 | "copy",
|
27 | "object copy",
|
28 | "object deep copy",
|
29 | "object deep merge",
|
30 | "copy image to clipboard"
|
31 | ],
|
32 | "author": "2631541504@qq.com",
|
33 | "license": "MIT",
|
34 | "bugs": {
|
35 | "url": "https://github.com/livelybone/copy/issues"
|
36 | },
|
37 | "homepage": "https://github.com/livelybone/copy#readme",
|
38 | "devDependencies": {
|
39 | "@babel/core": "^7.5.0",
|
40 | "@babel/plugin-transform-runtime": "^7.5.0",
|
41 | "@babel/preset-env": "^7.5.0",
|
42 | "@babel/preset-typescript": "^7.3.3",
|
43 | "@babel/runtime": "^7.5.1",
|
44 | "@livelybone/singleton": "^1.1.1",
|
45 | "@typescript-eslint/eslint-plugin": "^1.12.0",
|
46 | "@typescript-eslint/parser": "^1.11.0",
|
47 | "babel-plugin-istanbul": "^5.1.4",
|
48 | "chai": "^4.2.0",
|
49 | "chalk": "^2.4.2",
|
50 | "chokidar": "^3.0.2",
|
51 | "commitizen": "^3.0.7",
|
52 | "conventional-changelog-cli": "^2.0.12",
|
53 | "cross-env": "^5.2.0",
|
54 | "cross-spawn": "^6.0.5",
|
55 | "cz-conventional-changelog": "^2.1.0",
|
56 | "eslint": "^5.3.0",
|
57 | "eslint-config-airbnb-base": "^13.0.0",
|
58 | "eslint-config-prettier": "^6.0.0",
|
59 | "eslint-plugin-import": "^2.16.0",
|
60 | "eslint-plugin-prettier": "^3.1.0",
|
61 | "express": "^4.17.1",
|
62 | "husky": "^3.0.0",
|
63 | "istanbul": "^1.1.0-alpha.1",
|
64 | "lint-staged": "^9.1.0",
|
65 | "mocha": "^5.2.0",
|
66 | "prettier": "^1.18.2",
|
67 | "rollup": "^1.7.0",
|
68 | "rollup-plugin-babel": "^4.3.3",
|
69 | "rollup-plugin-commonjs": "^9.2.1",
|
70 | "rollup-plugin-dts": "^1.1.5",
|
71 | "rollup-plugin-license": "^0.8.1",
|
72 | "rollup-plugin-node-resolve": "^4.0.1",
|
73 | "rollup-plugin-uglify": "^6.0.2",
|
74 | "typescript": "^3.5.2"
|
75 | },
|
76 | "config": {
|
77 | "commitizen": {
|
78 | "path": "./node_modules/cz-conventional-changelog"
|
79 | }
|
80 | },
|
81 | "husky": {
|
82 | "hooks": {
|
83 | "pre-commit": "lint-staged"
|
84 | }
|
85 | },
|
86 | "lint-staged": {
|
87 | "**/*.{js,ts}": [
|
88 | "eslint --fix",
|
89 | "git update-index --again"
|
90 | ],
|
91 | "**/*.scss": [
|
92 | "prettier --write",
|
93 | "git update-index --again"
|
94 | ]
|
95 | }
|
96 | }
|