UNPKG

3.22 kBJSONView Raw
1{
2 "name": "30s",
3 "version": "1.4.38",
4 "description": "A command-line application for 30 seconds of code snippets",
5 "author": "Oskar Grunning <oskargrunning@gmail.com>",
6 "license": "CC0-1.0",
7 "homepage": "https://github.com/sQVe/30s#30s",
8 "repository": "github:sQVe/30s",
9 "bugs": "https://github.com/sQVe/30s/issues",
10 "keywords": [
11 "javascript",
12 "snippets",
13 "cli"
14 ],
15 "scripts": {
16 "build": "npm run clean && npm run build:snippets && npm run move:snippets && npm run build:cjs",
17 "build:cjs": "BUILD_BUNDLE=cjs rollup -c",
18 "build:snippets": "BUILD_BUNDLE=snippets rollup -c && node .tmp/parser.js",
19 "move:snippets": "mkdir -p lib && mv .tmp/snippets.json lib/",
20 "clean": "rm -rf {.tmp,coverage,lib}",
21 "format": "prettier --write '{**/*,*}.{js,json,jsx,md,yaml}' && eslint --fix '{**/*,*}.{js,jsx}'",
22 "lint": "eslint '{**/*,*}.{js,jsx}'",
23 "prepublishOnly": "npm run build",
24 "test": "jest",
25 "test:coverage": "jest --coverage",
26 "test:coverage:upload": "jest --coverage && codecov",
27 "test:integration": "jest --testPathIgnorePatterns --testPathPattern test/integration/*",
28 "test:watch": "jest --watch --onlyChanged"
29 },
30 "engines": {
31 "node": ">= 8"
32 },
33 "bin": {
34 "30s": "./lib/30s.js"
35 },
36 "main": "lib/30s.js",
37 "files": [
38 "lib/"
39 ],
40 "devDependencies": {
41 "@babel/cli": "~7.8.0",
42 "@babel/core": "~7.8.0",
43 "@babel/plugin-transform-runtime": "~7.8.0",
44 "@babel/preset-env": "~7.8.0",
45 "@semantic-release/changelog": "~3.0.0",
46 "@semantic-release/git": "~8.0.0",
47 "@types/jest": "^24.0.0",
48 "@types/node": "^13.0.0",
49 "@types/ramda": "^0.26.0",
50 "@typescript-eslint/eslint-plugin": "~2.16.0",
51 "@typescript-eslint/parser": "~2.16.0",
52 "babel-core": "7.0.0-bridge.0",
53 "babel-eslint": "~10.0.3",
54 "babel-jest": "~24.9.0",
55 "babel-plugin-ramda": "~2.0.0",
56 "codecov": "~3.6.0",
57 "eslint": "~6.8.0",
58 "eslint-config-sqve": "~2.6.0",
59 "eslint-plugin-fp": "^2.3.0",
60 "eslint-plugin-import": "~2.20.0",
61 "eslint-plugin-node": "~11.0.0",
62 "eslint-plugin-promise": "~4.2.0",
63 "eslint-plugin-react": "~7.17.0",
64 "eslint-plugin-standard": "~4.0.0",
65 "husky": "~4.0.0",
66 "jest": "~24.9.0",
67 "lint-staged": "~9.5.0",
68 "prettier": "~1.19.0",
69 "rollup": "~1.29.0",
70 "rollup-plugin-add-shebang": "~0.3.0",
71 "rollup-plugin-babel": "~4.3.0",
72 "rollup-plugin-commonjs": "~10.1.0",
73 "rollup-plugin-json": "~4.0.0",
74 "rollup-plugin-node-resolve": "~5.2.0",
75 "semantic-release": "~16.0.0",
76 "typescript": "~3.7.0"
77 },
78 "dependencies": {
79 "@babel/polyfill": "~7.8.0",
80 "@babel/runtime": "~7.8.0",
81 "chalk": "~3.0.0",
82 "cli-highlight": "~2.1.0",
83 "clipboardy": "~2.1.0",
84 "commander": "~4.1.0",
85 "core-js": "~3.6.0",
86 "marked": "~0.8.0",
87 "marked-terminal": "~4.0.0",
88 "ramda": "~0.26.0"
89 },
90 "husky": {
91 "hooks": {
92 "pre-commit": "lint-staged",
93 "pre-push": "jest"
94 }
95 },
96 "lint-staged": {
97 "*.{js,jsx}": [
98 "prettier --write",
99 "eslint",
100 "jest --findRelatedTests",
101 "git add"
102 ],
103 "*.json": [
104 "prettier --write",
105 "git add"
106 ]
107 }
108}