@vivocha/scopes
Version:
Vivocha API Scopes Utilities
96 lines (95 loc) • 2.71 kB
JSON
{
"name": "@vivocha/scopes",
"version": "2.0.0",
"description": "Vivocha API Scopes Utilities",
"engines": {
"node": ">=24.0.0"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"directories": {
"test": "test"
},
"files": [
"dist/**/*.js",
"dist/**/*.ts",
"README.md",
"LICENSE"
],
"scripts": {
"i:lock": "npm i && npm i --package-lock-only",
"build": "tsc",
"build:all": "npm run build && npm run build:tests",
"build:tests": "tsc -p test",
"clean": "npx rimraf dist coverage .nyc_output test-results",
"clean:all": "npm run clean && npx rimraf node_modules",
"cover": "nyc --reporter=lcov --reporter=text npm t",
"commit": "git-cz",
"check-coverage": "nyc check-coverage --statements 90 --branches 90 --functions 100 --lines 90",
"prebuild": "rm -rf dist",
"watch:test": "npm t -- -w",
"test": "find ./test/ts -type f -name '*.js' -delete && npm run build:all && mocha --exit --no-timeouts --recursive test/**/*.test.js",
"test:debug": "find ./test/ts -type f -name '*.js' -delete && npm run build:all && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js",
"test:watch": "nodemon -e ts --ignore dist/ --ignore 'test/ts/*.js' --exec npm run test",
"semantic-release": "semantic-release",
"semantic-release-dry": "semantic-release --dry-run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vivocha/scopes.git"
},
"keywords": [
"vivocha"
],
"author": "Vivocha Dev Team <dev@vivocha.com> (http://www.vivocha.com/)",
"license": "MIT",
"homepage": "https://github.com/vivocha/scopes.git#readme",
"devDependencies": {
"@commitlint/cli": "^20.5.3",
"@commitlint/config-conventional": "^20.5.3",
"@types/chai": "^4.3.20",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.6",
"chai": "^4.5.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"husky": "^9.1.7",
"mocha": "^11.7.5",
"nodemon": "^3.1.14",
"nyc": "^18.0.0",
"semantic-release": "^25.0.3",
"typescript": "^6.0.3"
},
"publishConfig": {
"access": "restricted"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run build && npm run cover && npm run check-coverage"
}
},
"nyc": {
"include": [
"dist/**/*.js",
"src/**/*.ts"
],
"extension": [
".js",
".ts"
],
"exclude": [
"**/test"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": true
}
}