UNPKG

30s

Version:

A command-line application for 30 seconds of code snippets

97 lines (96 loc) 2.76 kB
{ "name": "30s", "version": "1.1.0", "description": "A command-line application for 30 seconds of code snippets", "author": "Oskar Grunning <oskargrunning@gmail.com>", "license": "CC0-1.0", "homepage": "https://github.com/sQVe/30s#30s", "repository": "github:sQVe/30s", "bugs": "https://github.com/sQVe/30s/issues", "keywords": [ "javascript", "snippets", "cli" ], "scripts": { "build": "rm -rf lib && npm run build:js && npm run build:parse", "build:copy": "cp src/snippets.json lib/", "build:js": "NODE_ENV=production babel src --out-dir lib", "build:parse": "node lib/parser.js", "format": "prettier-eslint --write '{**/*,*}.{js,json,jsx,md,yaml}'", "format:check": "prettier-eslint --list-different '{**/*,*}.{js,json,jsx,md,yaml}'", "lint": "eslint '{**/*,*}.{js,jsx}'", "prepublishOnly": "npm run build", "start": "babel-node src/index.js", "test": "jest", "test:cov": "jest --coverage", "test:cov:up": "jest --coverage --coverageReporters=text-lcov | coveralls", "test:integration": "jest --testPathIgnorePatterns --testPathPattern test/integration/*", "test:watch": "jest --watch --onlyChanged" }, "engines": { "node": ">= 0" }, "bin": { "30s": "./lib/index.js" }, "files": [ "lib/" ], "devDependencies": { "@babel/cli": "~7.2.0", "@babel/core": "~7.3.3", "@babel/node": "~7.2.0", "@babel/preset-env": "~7.3.0", "@semantic-release/changelog": "~3.0.0", "@semantic-release/git": "~7.0.0", "@types/jest": "^24.0.0", "@types/node": "^11.10.0", "@types/ramda": "^0.25.50", "babel-core": "7.0.0-bridge.0", "babel-eslint": "~10.0.0", "babel-jest": "~24.3.0", "coveralls": "~3.0.0", "eslint": "~5.15.0", "eslint-config-sqve": "~2.1.0", "eslint-plugin-fp": "^2.3.0", "eslint-plugin-import": "^2.16.0", "eslint-plugin-node": "^8.0.0", "eslint-plugin-promise": "^4.0.0", "eslint-plugin-react": "^7.12.0", "eslint-plugin-standard": "^4.0.0", "husky": "~1.3.0", "jest": "~24.3.0", "lint-staged": "~8.1.0", "prettier": "~1.16.0", "prettier-eslint-cli": "~4.7.0", "semantic-release": "~15.13.0" }, "dependencies": { "@babel/polyfill": "~7.2.0", "chalk": "~2.4.0", "cli-highlight": "~2.0.0", "clipboardy": "~1.2.0", "commander": "~2.19.0", "marked": "~0.6.0", "marked-terminal": "~3.2.0", "ramda": "~0.26.0" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{js,jsx}": [ "prettier-eslint --write", "eslint", "jest --findRelatedTests", "git add" ], "*.json": [ "prettier-eslint --write", "git add" ] } }