canihazusername/package.json
2022-05-31 15:31:36 +02:00

61 lines
1.5 KiB
JSON

{
"name": "canihazusername",
"version": "2.3.0",
"description": "username generator. typed, simple and customizable",
"type": "module",
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"import": {
"default": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
},
"require": {
"default": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts"
}
}
},
"files": [
"dist"
],
"targets": {
"docs": {
"distDir": "./build",
"context": "browser"
}
},
"scripts": {
"generate": "git submodule update && node ./generate/wordlist.js",
"dev": "tsc -w",
"build:esm": "tsc -p ./tsconfig.esm.json",
"build:cjs": "tsc -p ./tsconfig.cjs.json",
"build": "pnpm run build:esm && pnpm run build:cjs",
"docs": "pnpm run build && parcel build --target docs demo/index.html",
"docs:dev": "parcel --target docs demo/index.html",
"prepublishOnly": "rm -rf ./dist && pnpm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CupCakeArmy/canihazusername.git"
},
"keywords": [
"username",
"generator",
"types",
"customizable"
],
"author": "Niccolo Borgioli",
"license": "MIT",
"bugs": {
"url": "https://github.com/CupCakeArmy/canihazusername/issues"
},
"homepage": "https://github.com/CupCakeArmy/canihazusername#readme",
"devDependencies": {
"bulma": "^0.9.4",
"parcel": "^2.6.0",
"typescript": "^4.7.2"
}
}