UNPKG

shnippet

Version:

A snippet extraction tool for various programming languages.

67 lines (66 loc) 1.58 kB
{ "name": "shnippet", "type": "module", "version": "0.0.4-alpha", "description": "A snippet extraction tool for various programming languages.", "main": "./dist/index.js", "browser": "./dist/client.browser.js", "types": "./dist/index.d.ts", "include": [ "src", "types" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": { "node": "./dist/index.js", "browser": "./dist/client.browser.js", "default": "./dist/index.js" }, "require": "./dist/index.js" }, "./types": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" } }, "bin": { "shnippet": "dist/bin/cli.js" }, "scripts": { "build": "node build.js", "start": "node dist/src/bin/cli", "dev": "tsc --watch", "test": "vitest", "test:watch": "vitest watch", "test:coverage": "vitest run --coverage", "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"", "type-check": "tsc --noEmit" }, "keywords": [ "snippet", "extractor", "code", "tool" ], "author": "Nick DeJesus", "license": "MIT", "dependencies": { "glob": "^11.0.2", "rimraf": "5.0.5" }, "devDependencies": { "@types/jest": "^29.5.12", "@types/node": "^22.7.4", "esbuild": "^0.25.4", "jest": "^29.7.0", "prettier": "^3.2.5", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "typescript": "^5.6.2", "vitest": "^1.2.2" } }