98 lines
2.1 KiB
JSON
98 lines
2.1 KiB
JSON
{
|
|
"name": "@signalapp/minimask",
|
|
"version": "1.0.1",
|
|
"description": "Simple HTML input masking",
|
|
"type": "module",
|
|
"main": "./dist/minimask.cjs",
|
|
"module": "./dist/minimask.js",
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/minimask.cjs",
|
|
"default": "./dist/minimask.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"watch": "tsup --watch",
|
|
"build": "tsup",
|
|
"format": "prettier --cache --write .",
|
|
"lint": "npm run check:eslint && npm run check:format && npm run check:publint && npm run check:attw",
|
|
"check:eslint": "eslint --cache .",
|
|
"check:format": "prettier --cache --check .",
|
|
"check:publint": "publint --strict",
|
|
"check:attw": "attw --pack . --profile node16",
|
|
"prepublishOnly": "npm run clean && npm run build && npm run lint",
|
|
"clean": "rm -rf dist *.tsbuildinfo",
|
|
"start": "parcel example/index.html --dist-dir example-dist",
|
|
"test": "vitest"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/signalapp/minimask.git"
|
|
},
|
|
"keywords": [
|
|
"input",
|
|
"mask",
|
|
"html",
|
|
"pattern",
|
|
"format",
|
|
"formatter",
|
|
"formatting",
|
|
"credit",
|
|
"card",
|
|
"date",
|
|
"month",
|
|
"year",
|
|
"type",
|
|
"typing"
|
|
],
|
|
"author": {
|
|
"name": "Signal Messenger, LLC",
|
|
"email": "support@signal.org"
|
|
},
|
|
"license": "AGPL-3.0-only",
|
|
"bugs": {
|
|
"url": "https://github.com/signalapp/minimask/issues"
|
|
},
|
|
"homepage": "https://github.com/signalapp/minimask#readme",
|
|
"tsup": {
|
|
"entry": [
|
|
"src/minimask.ts"
|
|
],
|
|
"format": [
|
|
"esm",
|
|
"cjs"
|
|
],
|
|
"dts": {
|
|
"compilerOptions": {
|
|
"composite": false
|
|
}
|
|
},
|
|
"splitting": false,
|
|
"sourcemap": true,
|
|
"clean": true
|
|
},
|
|
"@parcel/resolver-default": {
|
|
"packageExports": true
|
|
},
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
"@eslint/js": "^9.30.1",
|
|
"@tailwindcss/forms": "^0.5.10",
|
|
"@tailwindcss/postcss": "^4.1.11",
|
|
"@tailwindcss/typography": "^0.5.16",
|
|
"credit-card-type": "^10.0.2",
|
|
"eslint": "^9.30.1",
|
|
"parcel": "^2.15.4",
|
|
"publint": "^0.3.12",
|
|
"prettier": "^3.6.2",
|
|
"tailwindcss": "^4.1.11",
|
|
"tsup": "^8.5.0",
|
|
"typescript": "^5.8.3",
|
|
"typescript-eslint": "^8.35.1",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|