Files
code-tokenizer/package.json
Geoff Seemueller a875cbf5d4 Update file exclusion logic and add regex pattern handling
Enhanced the file exclusion logic by adding support for `tsconfig.json` and `jsconfig.json`. Simplified complex glob and wildcard handling, replacing many special cases with a regex-based approach to match file paths more reliably. Updated package version to 1.0.7.
2024-11-21 12:51:49 -05:00

36 lines
861 B
JSON

{
"name": "code-tokenizer-md",
"version": "1.0.7",
"type": "module",
"main": "dist/index.js",
"bin": {
"code-tokenizer-md": "./dist/cli.js"
},
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist && mkdir dist && cp src/*.js dist/",
"test": "echo \"No tests specified\" && exit 0",
"prepublishOnly": "npm run build",
"dev": "node ./src/cli.js",
"deploy:dev": "pnpm publish .",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,yml,yaml}\"",
"fix": "pnpm format && pnpm lint:fix"
},
"dependencies": {
"llama3-tokenizer-js": "^1.0.0"
},
"peerDependencies": {
"node": ">=14.0.0"
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"eslint": "^9.14.0",
"globals": "^15.12.0",
"prettier": "^3.3.3"
}
}