UNPKG

1.61 kBJSONView Raw
1{
2 "name": "enum-chars",
3 "version": "1.1.1",
4 "description": "Enumeration of characters according to template",
5 "author": "wareset <git@wareset.com>",
6 "homepage": "https://github.com/wareset/enum-chars#readme",
7 "license": "MIT",
8 "main": "dist/index",
9 "module": "dist/index.mjs",
10 "types": "dist/index.d.ts",
11 "files": [
12 "dist",
13 "README.md"
14 ],
15 "keywords": [
16 "alphabet",
17 "characters",
18 "enumeration"
19 ],
20 "scripts": {
21 "dester": "dester ./src ./dist",
22 "build": "rm -rf ./dist && npm run -s dester",
23 "dev": "npm run -s dester -- -w",
24 "pkg:name": "cat package.json | grep '\"name\":' | cut -d '\"' -f4",
25 "pkg:version": "cat package.json | grep '\"version\":' | cut -d '\"' -f4",
26 "git:get:tag": "echo $(npm run -s pkg:name)@$(npm run -s pkg:version)",
27 "git:set:tag": "t=$(npm run -s git:get:tag) && git tag -a $t -m $t",
28 "git:commit": "npm run -s build && git add . && read -p 'Commit: ' c; c=${c:-v$(npm run -s pkg:version)} && n=$(npm run -s pkg:name) && git commit -m \"$n: $c\"",
29 "commit": "read -p 'Version [patch]: ' V; V=${V:-patch} && npm version --force --no-git-tag-version $V; echo $V && read -p 'Push? (y/N): ' G && read -p 'Publish? (y/N): ' P && npm run -s git:commit && case $G in Y|y) $(git push);; esac && case $P in Y|y) $(npm run -s git:set:tag && git push --tags && npm -s publish);; esac"
30 },
31 "repository": {
32 "type": "git",
33 "url": "git+https://github.com/wareset/enum-chars.git"
34 },
35 "bugs": {
36 "url": "https://github.com/wareset/enum-chars/issues"
37 },
38 "devDependencies": {
39 "dester": "0.x"
40 }
41}