cxa-track
Version:
Convenient CLI to quickly update CxA tracked links
109 lines (108 loc) • 2.38 kB
JSON
{
"name": "cxa-track",
"version": "3.0.0",
"description": "Convenient CLI to quickly update CxA tracked links",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/sinedied/cxa-track"
},
"exports": {
".": "./lib/index.js",
"./clipboard": "./lib/clipboard.js",
"./frontmatter": "./lib/frontmatter.js",
"./run": "./lib/run.js",
"./tracking": "./lib/tracking.js",
"./utils": "./lib/utils.js"
},
"bin": {
"cxa": "./bin/cxa.js"
},
"scripts": {
"lint": "xo",
"lint:fix": "xo --fix",
"test": "xo && npm run -s test:unit",
"test:unit": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --verbose",
"test:watch": "npm run -s test:unit -- --watch",
"release:check": "semantic-release --dry-run",
"prepare": "husky install"
},
"author": {
"name": "Yohan Lasorsa",
"url": "https://twitter.com/sinedied"
},
"homepage": "https://github.com/sinedied/cxa-track",
"bugs": {
"url": "https://github.com/sinedied/cxa-track/issues"
},
"keywords": [
"cli",
"cxa",
"advocate",
"microsoft",
"links"
],
"license": "MIT",
"dependencies": {
"chalk": "^5.0.1",
"clipboardy": "^3.0.0",
"conf": "^11.0.2",
"gray-matter": "^4.0.2",
"minimist": "^1.2.5",
"update-notifier": "^6.0.2"
},
"devDependencies": {
"cross-env": "^7.0.3",
"husky": "^8.0.1",
"jest": "^29.1.2",
"lint-staged": "^14.0.1",
"semantic-release": "^21.1.1",
"semantic-release-npm-github": "^5.0.0",
"xo": "~0.55.1"
},
"engines": {
"node": ">=16.14.0"
},
"prettier": {
"trailingComma": "none",
"bracketSpacing": true
},
"xo": {
"space": true,
"prettier": true,
"envs": [
"node",
"jest"
],
"rules": {
"unicorn/prevent-abbreviations": "off",
"unicorn/prefer-node-protocol": "off"
}
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/test/jest.setup.js"
],
"collectCoverageFrom": [
"*.js",
"lib/**/*.js"
],
"resolver": "<rootDir>/test/jest.resolver.cjs",
"silent": true
},
"lint-staged": {
"*.js": [
"xo --fix",
"git add"
]
},
"release": {
"extends": "semantic-release-npm-github",
"branches": "main"
},
"files": [
"index.js",
"lib/*.js",
"bin/cxa.js"
]
}