haystack-nclient
Version:
Project Haystack Network Client
78 lines (77 loc) • 2.55 kB
JSON
{
"name": "haystack-nclient",
"description": "Project Haystack Network Client",
"keywords": [
"project haystack",
"haystack",
"client",
"typescript"
],
"license": "BSD-3-Clause",
"author": "Gareth Johnson",
"homepage": "https://github.com/j2inn/haystack-nclient",
"version": "4.0.3",
"module": "dist/index.es.js",
"main": "dist/index.js",
"scripts": {
"watch": "nodemon --ext ts --ignore dist/ --ignore build/ --exec \"npm run lint && npm run test && npx tsc --project ./tsconfig.build.json\"",
"lint": "eslint --ext .ts .",
"format": "prettier-eslint \"./**/*.ts\" --write",
"test": "npm run lint && jest",
"coverage": "npm run lint && jest --coverage",
"doc": "npx rimraf ./docs && typedoc ./src --excludePrivate",
"build": "rimraf ./dist && rimraf ./build && tsc --project ./tsconfig.build.json && npx rollup --file=dist/index.es.js -- build/index.js && npx rollup --format=cjs --file=dist/index.js -- build/index.js && npx copyfiles -u 1 \"./build/**/*.d.ts\" ./dist",
"bundle": "webpack",
"analyze": "webpack --profile --json > stats.json && webpack-bundle-analyzer stats.json",
"prepack": "npm test && npm run build",
"start": "webpack serve --config webpack.config.dev.js",
"checktypes": "tsc --noEmit"
},
"files": [
"dist/**/*"
],
"devDependencies": {
"@babel/core": "^7.18.13",
"@babel/preset-env": "^7.18.10",
"@babel/preset-typescript": "^7.18.6",
"@types/adm-zip": "^0.5.0",
"@types/jest": "^29.5.2",
"@types/lodash": "^4.14.195",
"@types/node": "^22.10.3",
"@types/node-fetch": "^2.6.2",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"babel-jest": "^29.0.1",
"copy-webpack-plugin": "^11.0.0",
"copyfiles": "^2.4.1",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"fetch-mock": "^9.10.7",
"html-loader": "^4.1.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^29.5.0",
"node-fetch": "^2.6.1",
"nodemon": "^3.1.9",
"npm-dts": "^1.3.12",
"npm-dts-webpack-plugin": "^1.3.12",
"prettier": "^2.8.8",
"prettier-eslint": "^15.0.1",
"prettier-eslint-cli": "^7.1.0",
"rimraf": "^6.0.1",
"rollup": "^3.25.1",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"typedoc": "^0.27.6",
"typescript": "^5.1.3",
"typescript-eslint-parser": "^22.0.0",
"webpack": "^5.88.0",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^4.10.1",
"write-file-webpack-plugin": "^4.5.1"
},
"dependencies": {
"haystack-core": "^3.0.5"
}
}