Merge most of the stuff from jerome-benoit:issue-62-ts-standard
[poolifier.git] / package.json
CommitLineData
6dc67cda 1{
5648b9ca 2 "name": "poolifier",
ed1e08f2 3 "version": "1.2.1",
973cde26 4 "description": "Library on top of node js worker threads that implement various worker pools type",
4ade5f1f 5 "main": "lib/index.js",
6dc67cda 6 "scripts": {
f045358d
S
7 "build": "npm run build:clean && tsc",
8 "build:clean": "rimraf lib",
9 "test": "npm run build && nyc mocha --exit --timeout 20000 tests/*test.js ",
10 "test:debug": "mocha --inspect-brk --exit tests/*test.js ",
11 "test:nodemon": "nodemon --exec \"npm test\"",
6c8617c5 12 "coverage": "nyc report --reporter=text-lcov | coveralls",
f045358d
S
13 "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
14 "standard:verbose": "npx standard --verbose",
15 "lint:standard": "prettier-standard --format | standard --fix",
16 "ts-standard:verbose": "npx ts-standard --verbose",
17 "lint:ts-standard": "ts-standard --fix",
18 "lint-and-format": "npm run lint:standard && npm run lint:ts-standard && npm run import-sort"
6dc67cda 19 },
20 "repository": {
21 "type": "git",
81c5a5cb 22 "url": "git+https://github.com/pioardi/poolifier.git"
6dc67cda 23 },
24 "keywords": [
25 "node",
26 "thread-pool",
27 "worker-threads",
28 "performance",
29 "cpu",
973cde26 30 "computing",
31 "async-resource"
6dc67cda 32 ],
33 "standard": {
34 "env": [
35 "mocha",
36 "node"
f045358d
S
37 ],
38 "ignore": [
39 "src/",
40 "examples/typescript/"
6dc67cda 41 ]
42 },
f045358d
S
43 "ts-standard": {
44 "env": [
45 "mocha",
46 "node"
47 ],
48 "extensions": ".ts"
49 },
6dc67cda 50 "author": "pioardi",
51 "license": "MIT",
52 "bugs": {
81c5a5cb 53 "url": "https://github.com/pioardi/poolifier/issues"
6dc67cda 54 },
81c5a5cb 55 "homepage": "https://github.com/pioardi/poolifier#readme",
973cde26 56 "devDependencies": {
57df5469 57 "benchmark": "^2.1.4",
973cde26 58 "coveralls": "^3.0.9",
57af0ad8 59 "expect": "^26.0.0",
80b61305 60 "mocha": "^8.0.1",
973cde26 61 "mocha-lcov-reporter": "^1.3.0",
62 "nyc": "^15.0.0",
cf9aa6c3 63 "prettier-standard": "^16.4.1",
4ade5f1f 64 "rimraf": "^3.0.2",
f045358d
S
65 "standard": "^16.0.3",
66 "ts-standard": "^10.0.0",
4ade5f1f 67 "typescript": "^4.1.3"
da1f2de4
E
68 },
69 "engines": {
95fd8cf4 70 "node": ">=12.0.0"
cf9aa6c3 71 },
4ade5f1f 72 "dependencies": {}
6dc67cda 73}