UNPKG

@polyn/immutable

Version:

Define object schema's for validation, and construction of immutable objects

95 lines (94 loc) 3.48 kB
{ "name": "@polyn/immutable", "version": "1.1.2", "description": "Define object schema's for validation, and construction of immutable objects", "types": "index.d.ts", "exports": { "node": { "import": "./index-esmodule.mjs", "require": "./index.cjs" }, "browser": { "import": "./index-esmodule.mjs", "require": "./index.cjs", "default": "./dist/immutable.min.js" }, "default": "./index.cjs" }, "scripts": { "// dev": "json comment =============================================", "build": "node build.js", "pre-push": "node pre-push.js", "// lint": "json comment =============================================", "lint": "eslint .", "lint:fix": "eslint . --fix", "// test": "json comment =============================================", "dev": "nodemon -e js --exec 'pnpm run test:cjs'", "test": "pnpm run test:cjs && pnpm run test:mjs:default && pnpm run test:mjs:exports && pnpm run test:browser && pnpm run test:ts", "test:ci": "pnpm run test:ts && pnpm run test:mjs:default:ci && pnpm run test:mjs:exports:ci && pnpm run test:browser:ci && pnpm run test:coverage", "test:browser": "node --conditions=browser test-browser.cjs -r nyan", "test:browser:ci": "node --conditions=browser test-browser.cjs -r tap,summary --no-color", "test:cjs": "node test.cjs -r nyan", "test:cjs:ci": "node test.cjs -r tap,summary --no-color", "test:mjs:default": "node test-default.mjs -r nyan", "test:mjs:default:ci": "node test-default.mjs -r tap,summary --no-color", "test:mjs:exports": "node test-exports.mjs -r nyan", "test:mjs:exports:ci": "node test-exports.mjs -r tap,summary --no-color", "test:ts": "tsc -p ./tsconfig.json && node examples-typescript.js", "// coverage": "json comment =============================================", "test:coverage": "nyc --reporter=text --reporter=text-summary pnpm run test:cjs:ci", "test:coverage:ci": "mkdir -p ./coverage && touch ./coverage/lcov.info; nyc report --reporter=text-lcov > ./coverage/lcov.info", "test:coveralls": "pnpm run test:coverage; nyc report --reporter=text-lcov | coveralls" }, "pre-push": [ "lint", "test:ci", "pre-push" ], "repository": { "type": "git", "url": "git+https://github.com/losandes/polyn-immutable.git" }, "author": "Andy Wright <andes.collab@gmail.com> (https://github.com/losandes)", "license": "MIT", "bugs": { "url": "https://github.com/losandes/polyn-immutable/issues" }, "homepage": "https://github.com/losandes/polyn-immutable#readme", "keywords": [ "polymorphism", "immutable", "interface", "class", "blueprint", "hilary", "immutables", "immutability" ], "devDependencies": { "@babel/core": "~7.21.0", "@babel/preset-env": "~7.20.2", "@polyn/blueprint": "~2.7.0", "@polyn/immutable": "link:", "@types/chai": "~4.3.4", "@types/uuid": "~9.0.1", "ajv": "~6.12.6", "chai": "~4.3.7", "coveralls": "~3.1.1", "eslint": "~8.34.0", "eslint-config-standard": "~17.0.0", "eslint-plugin-import": "~2.27.5", "eslint-plugin-n": "~15.6.1", "eslint-plugin-node": "~11.1.0", "eslint-plugin-promise": "~6.1.1", "nyc": "~15.1.0", "pre-push": "~0.1.4", "puppeteer": "~19.7.2", "supposed": "~1.1.6", "typescript": "~4.9.5", "uuid": "~9.0.0" }, "peerDependencies": { "@polyn/blueprint": "2.7.0" } }