@reactory/switch-map
Version:
Easy objects switch maps in React.
83 lines (82 loc) • 2.7 kB
JSON
{
"name": "@reactory/switch-map",
"version": "1.0.0",
"description": "Easy objects switch maps in React.",
"author": "Richard King <richrdkng@gmail.com> (https://richrdkng.com)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/reactory/reactory.git"
},
"bugs": {
"url": "https://github.com/reactory/reactory/issues"
},
"homepage": "https://github.com/reactory/reactory/tree/main/packages/switch-map#readme",
"publishConfig": {
"access": "public"
},
"main": "index.js",
"engines": {
"node": ">= 16"
},
"ts-standard": {
"ignore": [
"dist*",
"*.config.js"
]
},
"keywords": [
"react",
"switch",
"map",
"object",
"switch-map",
"switchmap",
"util",
"utility",
"helper",
"reactory"
],
"scripts": {
"start": "npm test -- --watchAll",
"fix:lint": "ts-standard --verbose --fix | snazzy",
"test:coverage": "npm test -- --coverage",
"check": "npm run check:commits && npm run check:lint && npm run check:types && npm run check:test",
"//": "-------------------------------------------------------------------",
"check:commits": "commitlint --from $(git rev-parse --short HEAD^1) --to $(git rev-parse --short HEAD^2) --verbose",
"check:lint": "ts-standard --verbose | snazzy",
"check:types": "tsc --noEmit && tsc -p tsconfig.types.json --outDir .temp-types && rm -rf .temp-types",
"check:test": "npm run test:coverage && rm -rf coverage",
"///": "------------------------------------------------------------------",
"test": "jest",
"prep": "npm run _prep:init && npm run _prep:dist",
"build": "npm run _build:src && npm run _build:types",
"////": "-----------------------------------------------------------------",
"_prep:init": "rm -rf dist* && mkdir dist",
"_prep:dist": "cp ../../LICENSE* README* package.json dist",
"_build:src": "rollup -c",
"_build:types": "tsc -p tsconfig.types.json"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@testyard/stats": "^1.4.1",
"@tsconfig/node16": "^16.1.1",
"@types/jest": "^29.5.4",
"@types/semantic-release": "^20.0.1",
"jest": "^29.6.4",
"jest-extended": "^4.0.1",
"rollup": "^3.28.1",
"semantic-release": "^19.0.5",
"semantic-release-monorepo": "^7.0.5",
"snazzy": "^9.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"ts-standard": "^12.0.2",
"tslib": "^2.6.2",
"typescript": "^4.9.4"
}
}