|
| 1 | +{ |
| 2 | + "name": "tree-dump", |
| 3 | + "private": false, |
| 4 | + "publishConfig": { |
| 5 | + "access": "public" |
| 6 | + }, |
| 7 | + "version": "0.0.1", |
| 8 | + "description": "High-performance (binary) tree and sorted map implementation (AVL, Splay, Radix, Red-Black)", |
| 9 | + "author": { |
| 10 | + "name": "streamich", |
| 11 | + "url": "https://github.com/streamich" |
| 12 | + }, |
| 13 | + "homepage": "https://github.com/streamich/tree-dump", |
| 14 | + "repository": "streamich/tree-dump", |
| 15 | + "funding": { |
| 16 | + "type": "github", |
| 17 | + "url": "https://github.com/sponsors/streamich" |
| 18 | + }, |
| 19 | + "keywords": [ |
| 20 | + "tree", |
| 21 | + "print", |
| 22 | + "dump", |
| 23 | + "tree dump", |
| 24 | + "print tree", |
| 25 | + "binary tree", |
| 26 | + "binary search tree" |
| 27 | + ], |
| 28 | + "engines": { |
| 29 | + "node": ">=10.0" |
| 30 | + }, |
| 31 | + "main": "lib/index.js", |
| 32 | + "types": "lib/index.d.ts", |
| 33 | + "typings": "lib/index.d.ts", |
| 34 | + "files": [ |
| 35 | + "LICENSE", |
| 36 | + "lib/" |
| 37 | + ], |
| 38 | + "scripts": { |
| 39 | + "prettier": "npx prettier@3.2.5 --ignore-path .gitignore --write \"src/**/*.{ts,tsx,js,jsx}\"", |
| 40 | + "prettier:check": "npx prettier@3.2.5 --ignore-path .gitignore --list-different 'src/**/*.{ts,tsx,js,jsx}'", |
| 41 | + "lint": "npx tslint@6.1.3 'src/**/*.{js,jsx,ts,tsx}' -t verbose --project .", |
| 42 | + "clean": "npx rimraf@5.0.5 lib typedocs coverage gh-pages yarn-error.log", |
| 43 | + "build": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib", |
| 44 | + "jest": "node -r ts-node/register ./node_modules/.bin/jest", |
| 45 | + "test": "jest --maxWorkers 7", |
| 46 | + "test:ci": "yarn jest --maxWorkers 3 --no-cache", |
| 47 | + "coverage": "yarn test --collectCoverage", |
| 48 | + "typedoc": "npx typedoc@0.25.12", |
| 49 | + "build:pages": "npx rimraf@5.0.5 gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage", |
| 50 | + "deploy:pages": "npx gh-pages -d gh-pages", |
| 51 | + "publish-coverage-and-typedocs": "yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages" |
| 52 | + }, |
| 53 | + "peerDependencies": { |
| 54 | + "tslib": "2" |
| 55 | + }, |
| 56 | + "dependencies": {}, |
| 57 | + "devDependencies": { |
| 58 | + "@types/jest": "^29.5.12", |
| 59 | + "jest": "^29.7.0", |
| 60 | + "ts-jest": "^29.1.2", |
| 61 | + "tslib": "^2.6.2", |
| 62 | + "tslint-config-common": "^1.6.2", |
| 63 | + "typescript": "^5.4.4" |
| 64 | + }, |
| 65 | + "jest": { |
| 66 | + "verbose": true, |
| 67 | + "moduleFileExtensions": [ |
| 68 | + "ts", |
| 69 | + "js" |
| 70 | + ], |
| 71 | + "transform": { |
| 72 | + "^.+\\.ts$": "ts-jest" |
| 73 | + }, |
| 74 | + "transformIgnorePatterns": [], |
| 75 | + "testRegex": ".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.ts$" |
| 76 | + }, |
| 77 | + "prettier": { |
| 78 | + "arrowParens": "always", |
| 79 | + "printWidth": 120, |
| 80 | + "tabWidth": 2, |
| 81 | + "useTabs": false, |
| 82 | + "semi": true, |
| 83 | + "singleQuote": true, |
| 84 | + "trailingComma": "all", |
| 85 | + "bracketSpacing": false |
| 86 | + }, |
| 87 | + "release": { |
| 88 | + "branches": [ |
| 89 | + "master", |
| 90 | + "next" |
| 91 | + ] |
| 92 | + } |
| 93 | +} |
0 commit comments