|
|
|
@ -6,7 +6,6 @@
|
|
|
|
|
"module": "dist/hotkeys.esm.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"lint": "eslint --ext .js src website",
|
|
|
|
|
"precommit": "npm run build && npm run lint",
|
|
|
|
|
"deploy": "npm run doc:build && gh-pages -d build",
|
|
|
|
|
"build": "node scripts/build.js",
|
|
|
|
|
"watch": "node scripts/watch.js",
|
|
|
|
@ -17,6 +16,11 @@
|
|
|
|
|
"doc:dev": "NODE_ENV=development parcel website/index.html --out-dir build/ --no-cache",
|
|
|
|
|
"doc:build": "NODE_ENV=production parcel build website/index.html --out-dir build/ --public-url ./ --no-cache"
|
|
|
|
|
},
|
|
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
|
|
|
|
"pre-commit": "npm run build && npm run lint"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"keywords": [
|
|
|
|
|
"hotkey",
|
|
|
|
|
"hotkeys",
|
|
|
|
@ -37,7 +41,7 @@
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"autoprefixer": "^8.1.0",
|
|
|
|
|
"autoprefixer": "^8.6.1",
|
|
|
|
|
"babel-core": "^6.26.0",
|
|
|
|
|
"babel-eslint": "^8.2.2",
|
|
|
|
|
"babel-plugin-external-helpers": "^6.22.0",
|
|
|
|
@ -48,26 +52,26 @@
|
|
|
|
|
"colors-cli": "^1.0.13",
|
|
|
|
|
"eslint": "^4.19.1",
|
|
|
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
|
|
|
"eslint-plugin-import": "^2.9.0",
|
|
|
|
|
"eslint-plugin-import": "^2.12.0",
|
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
|
|
|
"eslint-plugin-react": "^7.7.0",
|
|
|
|
|
"eslint-plugin-react": "^7.9.1",
|
|
|
|
|
"gh-pages": "^1.1.0",
|
|
|
|
|
"highlight.js": "^9.12.0",
|
|
|
|
|
"husky": "^0.14.3",
|
|
|
|
|
"husky": "^1.0.0-rc.8",
|
|
|
|
|
"jest": "^22.4.2",
|
|
|
|
|
"less": "^3.0.1",
|
|
|
|
|
"parcel-bundler": "^1.6.2",
|
|
|
|
|
"parcel-bundler": "^1.8.1",
|
|
|
|
|
"parcel-plugin-markdown-string": "^1.3.1",
|
|
|
|
|
"postcss-modules": "^1.1.0",
|
|
|
|
|
"puppeteer": "^1.2.0",
|
|
|
|
|
"react": "^16.2.0",
|
|
|
|
|
"react-dom": "^16.2.0",
|
|
|
|
|
"react-markdown": "^3.3.0",
|
|
|
|
|
"rollup": "^0.57.0",
|
|
|
|
|
"rollup-plugin-babel": "^3.0.3",
|
|
|
|
|
"rollup-plugin-commonjs": "^9.1.0",
|
|
|
|
|
"rollup-plugin-node-resolve": "^3.2.0",
|
|
|
|
|
"uglify-js": "^3.3.15",
|
|
|
|
|
"rollup": "^0.57.1",
|
|
|
|
|
"rollup-plugin-babel": "^3.0.4",
|
|
|
|
|
"rollup-plugin-commonjs": "^9.1.3",
|
|
|
|
|
"rollup-plugin-node-resolve": "^3.3.0",
|
|
|
|
|
"uglify-js": "^3.4.0",
|
|
|
|
|
"zlib": "^1.0.5"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|