1 | {
|
2 | "name": "keyboardly",
|
3 | "nameFull": "Keyboardly",
|
4 | "version": "0.2.0",
|
5 | "description": "A keyboardly library",
|
6 | "license": "MIT",
|
7 | "engines": {
|
8 | "node": ">=6"
|
9 | },
|
10 | "repository": {
|
11 | "type": "git",
|
12 | "url": "git+https://github.com/victornpb/keyboardly.git"
|
13 | },
|
14 | "bugs": {
|
15 | "url": "https://github.com/victornpb/keyboardly/issues"
|
16 | },
|
17 | "homepage": "https://github.com/victornpb/keyboardly",
|
18 | "author": "victornpb",
|
19 | "main": "dist/keyboardly.cjs.js",
|
20 | "module": "dist/keyboardly.esm.js",
|
21 | "unpkg": "dist/keyboardly.js",
|
22 | "globalVar": "Keyboardly",
|
23 | "scripts": {
|
24 | "start": "rollup -c -w",
|
25 | "dev": "rollup -c -w",
|
26 | "build": "rollup -c && cp ./src/*.css ./dist ",
|
27 | "postbuild": "npm run build --prefix demo/vue",
|
28 | "lint": "eslint src/**/*.js",
|
29 | "lint:fix": "prettier-eslint src/**/*.js --write",
|
30 | "prebuild": "rimraf dist",
|
31 | "prepublishOnly": "npm run build && git add * && git commit -m \"Updating build\"",
|
32 | "release": "np patch --any-branch",
|
33 | "vue": "npm run serve --prefix ./demo/vue",
|
34 | "vue-prod": "npm run serve-prod --prefix ./demo/vue",
|
35 | "demo": "npm run build && concurrently \"npm run dev\" \"npm run vue\"",
|
36 | "demo-prod": "npm run build && concurrently \"npm run dev\" \"npm run vue-prod\""
|
37 | },
|
38 | "files": [
|
39 | "dist"
|
40 | ],
|
41 | "keywords": [
|
42 | "keyboard",
|
43 | "shortcut",
|
44 | "hotkey",
|
45 | "keystroke",
|
46 | "navigation",
|
47 | "macro"
|
48 | ],
|
49 | "sideEffects": false,
|
50 | "dependencies": {},
|
51 | "devDependencies": {
|
52 | "@babel/core": "^7.16.0",
|
53 | "@babel/plugin-proposal-class-properties": "^7.16.0",
|
54 | "@babel/plugin-proposal-private-methods": "^7.16.0",
|
55 | "@babel/plugin-transform-object-assign": "^7.16.0",
|
56 | "@babel/plugin-transform-runtime": "^7.16.4",
|
57 | "@babel/polyfill": "^7.12.1",
|
58 | "@babel/preset-env": "^7.16.4",
|
59 | "ansi-regex": ">=5.0.1",
|
60 | "babel-plugin-array-includes": "^2.0.3",
|
61 | "concurrently": "^6.4.0",
|
62 | "eslint": "^8.3.0",
|
63 | "husky": "^7.0.4",
|
64 | "lint-staged": "^12.1.1",
|
65 | "np": "^7.6.0",
|
66 | "prettier-eslint": "^13.0.0",
|
67 | "prettier-eslint-cli": "^5.0.1",
|
68 | "rimraf": "^3.0.2",
|
69 | "rollup": "^2.60.0",
|
70 | "rollup-plugin-babel": "^4.4.0",
|
71 | "rollup-plugin-banner2": "^1.2.2",
|
72 | "rollup-plugin-commonjs": "^10.1.0",
|
73 | "rollup-plugin-node-resolve": "^5.2.0",
|
74 | "rollup-plugin-postcss": "^4.0.1",
|
75 | "rollup-plugin-terser": "^7.0.2",
|
76 | "tiny-dedent": "^1.0.2"
|
77 | },
|
78 | "husky": {
|
79 | "hooks": {
|
80 | "pre-commit": "lint-staged"
|
81 | }
|
82 | },
|
83 | "lint-staged": {
|
84 | "src/**/*.js": [
|
85 | "npm run lint:fix",
|
86 | "git add"
|
87 | ]
|
88 | }
|
89 | }
|