vcard-creator
Version:
A JavaScript vCard creator library for both node.js and the web
93 lines • 2.93 kB
JSON
{
"name": "vcard-creator",
"version": "0.7.2",
"description": "A JavaScript vCard creator library for both node.js and the web",
"main": "./dist/vcard-creator.js",
"exports": {
".": "./dist/vcard-creator.js"
},
"types": "./dist/vcard-creator.d.ts",
"directories": {
"lib": "lib"
},
"files": [
"dist"
],
"lint-staged": {
"*.{js,ts}": [
"eslint --cache --fix",
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/joaocarmo/vcard-creator.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"tag": "latest"
},
"keywords": [
"vcard",
"node",
"browser"
],
"author": "Joao Carmo",
"license": "MIT",
"bugs": {
"url": "https://github.com/joaocarmo/vcard-creator/issues"
},
"homepage": "https://github.com/joaocarmo/vcard-creator#readme",
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/plugin-transform-class-properties": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@babel/preset-typescript": "^7.27.0",
"@babel/runtime": "^7.27.0",
"@eslint/js": "^9.23.0",
"@types/eslint__js": "^9.14.0",
"@types/jest": "^29.5.14",
"@types/node": "^20.16.5",
"@typescript-eslint/eslint-plugin": "^8.28.0",
"@typescript-eslint/parser": "^8.28.0",
"babel-core": "^6.26.3",
"babel-jest": "^29.7.0",
"babel-loader": "^10.0.0",
"core-js": "^3.41.0",
"eslint": "^9.23.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-prettier": "^5.2.5",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-date-mock": "^1.0.10",
"lint-staged": "^15.5.0",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.3.0",
"typescript": "^5.8.2",
"typescript-eslint": "^8.28.0",
"webpack": "^5.98.0",
"webpack-cli": "^6.0.1"
},
"dependencies": {},
"scripts": {
"build:types": "tsc -p tsconfig.declaration.json && mv dist/index.d.ts dist/vcard-creator.d.ts",
"build": "NODE_ENV=production webpack --mode production",
"clean": "rimraf ./dist/ ./node_modules/.cache/ *.vcf *.ics",
"lint:fix": "eslint . --fix",
"lint": "eslint .",
"pretty:fix": "prettier --write .",
"pretty": "prettier --check .",
"test:functional": "(./test-functional/test-vcard.js | tee vcard.vcf) && (./test-functional/test-vcalendar.js 2>/dev/null | tee vcard.ics)",
"test:unit": "jest",
"test:web-build": "NODE_ENV=development webpack --mode development && open ./test-functional/test-build.html",
"test:web-export": "open ./test-functional/test-export.html",
"type-check:watch": "pnpm type-check --watch",
"type-check": "tsc --noEmit"
}
}