|
| 1 | +{ |
| 2 | + "name": "@algo-js/priority-queue", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "Fast heap-based priority queue for production", |
| 5 | + "main": "build/main/index.js", |
| 6 | + "typings": "build/main/index.d.ts", |
| 7 | + "module": "build/module/index.js", |
| 8 | + "repository": "https://github.com/IPRIT/algo-js/priority-queue", |
| 9 | + "license": "MIT", |
| 10 | + "keywords": [], |
| 11 | + "scripts": { |
| 12 | + "describe": "npm-scripts-info", |
| 13 | + "build": "run-s clean && run-p build:*", |
| 14 | + "build:main": "tsc -p tsconfig.json", |
| 15 | + "build:module": "tsc -p tsconfig.module.json", |
| 16 | + "fix": "run-s fix:*", |
| 17 | + "fix:prettier": "prettier \"src/**/*.ts\" --write", |
| 18 | + "fix:tslint": "tslint --fix --project .", |
| 19 | + "test": "run-s build test:*", |
| 20 | + "test:lint": "tslint --project . && prettier \"src/**/*.ts\" --list-different", |
| 21 | + "test:unit": "nyc --silent ava", |
| 22 | + "watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"", |
| 23 | + "cov": "run-s build test:unit cov:html && open-cli coverage/index.html", |
| 24 | + "cov:html": "nyc report --reporter=html", |
| 25 | + "cov:send": "nyc report --reporter=lcov && codecov", |
| 26 | + "cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100", |
| 27 | + "doc": "run-s doc:html && open-cli build/docs/index.html", |
| 28 | + "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs", |
| 29 | + "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json", |
| 30 | + "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs", |
| 31 | + "version": "standard-version", |
| 32 | + "clean": "trash build test", |
| 33 | + "prepare-release": "run-s test cov:check doc:html version doc:publish", |
| 34 | + "preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) console.warn('@algo-js/core must be installed with Yarn: https://yarnpkg.com/')\"" |
| 35 | + }, |
| 36 | + "scripts-info": { |
| 37 | + "info": "Display information about the package scripts", |
| 38 | + "build": "Clean and rebuild the project", |
| 39 | + "fix": "Try to automatically fix any linting problems", |
| 40 | + "test": "Lint and unit test the project", |
| 41 | + "watch": "Watch and rebuild the project on save, then rerun relevant tests", |
| 42 | + "cov": "Rebuild, run tests, then create and open the coverage report", |
| 43 | + "doc": "Generate HTML API documentation and open it in a browser", |
| 44 | + "doc:json": "Generate API documentation in typedoc JSON format", |
| 45 | + "version": "Bump package.json version, update CHANGELOG.md, tag release", |
| 46 | + "prepare-release": "One-step: clean, build, test, publish docs, and prep a release" |
| 47 | + }, |
| 48 | + "engines": { |
| 49 | + "node": ">=8.9" |
| 50 | + }, |
| 51 | + "dependencies": { |
| 52 | + "@algo-js/heap-tree": "^1.1.4" |
| 53 | + }, |
| 54 | + "devDependencies": { |
| 55 | + "@bitjson/npm-scripts-info": "^1.0.0", |
| 56 | + "@bitjson/typedoc": "^0.15.0-0", |
| 57 | + "@istanbuljs/nyc-config-typescript": "^0.1.3", |
| 58 | + "ava": "2.2.0", |
| 59 | + "codecov": "^3.5.0", |
| 60 | + "cz-conventional-changelog": "^2.1.0", |
| 61 | + "gh-pages": "^2.0.1", |
| 62 | + "npm-run-all": "^4.1.5", |
| 63 | + "nyc": "^14.1.1", |
| 64 | + "open-cli": "^5.0.0", |
| 65 | + "prettier": "^1.18.2", |
| 66 | + "standard-version": "^6.0.1", |
| 67 | + "trash-cli": "^3.0.0", |
| 68 | + "tslint": "^5.18.0", |
| 69 | + "tslint-config-prettier": "^1.18.0", |
| 70 | + "tslint-immutable": "^6.0.1", |
| 71 | + "typescript": "^3.5.3" |
| 72 | + }, |
| 73 | + "ava": { |
| 74 | + "failFast": true, |
| 75 | + "files": [ |
| 76 | + "build/main/**/*.spec.js" |
| 77 | + ], |
| 78 | + "sources": [ |
| 79 | + "build/main/**/*.js" |
| 80 | + ] |
| 81 | + }, |
| 82 | + "config": { |
| 83 | + "commitizen": { |
| 84 | + "path": "cz-conventional-changelog" |
| 85 | + } |
| 86 | + }, |
| 87 | + "prettier": { |
| 88 | + "singleQuote": true |
| 89 | + }, |
| 90 | + "nyc": { |
| 91 | + "extends": "@istanbuljs/nyc-config-typescript", |
| 92 | + "exclude": [ |
| 93 | + "**/*.spec.js" |
| 94 | + ] |
| 95 | + } |
| 96 | +} |
0 commit comments