UNPKG

clientnode

Version:

upgrade to object orientated rock solid plugins

267 lines • 8.28 kB
{ "name": "clientnode", "version": "3.0.1303", "description": "upgrade to object orientated rock solid plugins", "keywords": [ "client", "tools", "node", "polymorph", "jquery" ], "homepage": "https://torben.website/clientnode", "bugs": { "email": "info@torben.website", "url": "https://github.com/thaibault/clientnode/issues" }, "license": "CC-BY-3.0", "main": "dist/index.js", "exports": { ".": "./dist/index.js", "./dist/*": "./dist/*", "./property-types": "./dist/property-types", "./test-helper": "./dist/test-helper" }, "typesVersions": { "*": { "property-types": [ "./dist/property-types" ], "test-helper": [ "./dist/test-helper" ] } }, "author": { "name": "Torben Sickert", "email": "info@torben.website", "url": "https://torben.website" }, "files": [ "dist" ], "repository": { "type": "git", "url": "https://github.com/thaibault/clientnode" }, "scripts": { "build": "yarn build:types; yarn build:plain", "build:alternate": "command='babel --plugins @babel/plugin-proposal-class-properties,@babel/plugin-transform-runtime --presets @babel/preset-env,@babel/preset-typescript --source-maps inline --out-file' && $command index.js src/index.ts && $command property-types.js src/property-types.ts && yarn make:executable", "build:bundle": "yarn build:types; yarn build:bundle:plain", "build:bundle:compatible": "yarn build:types; weboptimizer build '{__reference__: [\"target:bundle\", \"target:compatible\"]}'", "build:bundle:plain": "weboptimizer build '{__reference__: \"target:bundle\"}'", "build:plain": "weboptimizer build", "build:types": "weboptimizer build:types", "check": "yarn check:types; yarn lint", "check:types": "weboptimizer check:types", "clear": "weboptimizer clear", "document": "weboptimizer document", "lint": "weboptimizer lint", "make:executable": "node --eval \"fs.chmodSync('index.js', '700')\"", "prepare": "if ! yarn build; then echo You should rerun install procedure to resolve dependency cycle. && yarn build:alternate; fi", "serve": "weboptimizer serve", "start": "yarn serve", "test": "weboptimizer test", "test:browser": "weboptimizer test:browser", "test:coverage": "weboptimizer test:coverage", "test:coverage:report": "weboptimizer test:coverage:report", "update:documentation": "documentation-website", "watch": "weboptimizer build --watch" }, "runkitExample": "require('@babel/runtime/package.json')\n\nconst {represent} = require('clientnode')\n\nrepresent({test: 'data'})", "devDependencies": { "@babel/cli": "^7.28.0", "@babel/eslint-parser": "^7.28.0", "@babel/plugin-transform-proto-to-assign": "^7.27.1", "@babel/runtime": "^7.28.2", "@stylistic/eslint-plugin": "^5.2.2", "@types/ejs": "^3.1.5", "@types/html-minifier": "^4.0.5", "@types/imagemin": "^9.0.1", "@types/jquery": "^3.5.32", "@types/node": "^24.1.0", "@types/prop-types": "^15.7.15", "@types/webpack-env": "^1.18.8", "@typescript-eslint/eslint-plugin": "^8.38.0", "@typescript-eslint/parser": "^8.38.0", "clientnode": "workspace:.", "documentation-website": "^1.0.394", "eslint": "^9.32.0", "eslint-config-google": "^0.14.0", "eslint-plugin-jsdoc": "^52.0.1", "favicons-webpack-plugin": "^6.0.1", "image-minimizer-webpack-plugin": "^4.1.3", "jest": "^30.0.5", "jquery": "^3.7.1", "jsdoc": "^4.0.4", "node-fetch": "^3.3.2", "prop-types": "^15.8.1", "rimraf": "^6.0.1", "typescript-eslint": "^8.38.0", "weboptimizer": "^2.0.1598", "webpack-dev-server": "^5.2.2" }, "peerDependencies": { "@babel/runtime": "*", "@types/prop-types": "*", "jquery": "*", "node-fetch": "*", "prop-types": "*" }, "peerDependenciesMeta": { "@babel/runtime": { "optional": true }, "@types/prop-types": { "optional": true }, "jquery": { "optional": true }, "node-fetch": { "optional": true }, "prop-types": { "optional": true } }, "engines": { "node": ">=20", "npm": ">=10", "yarn": ">=4" }, "resolutions": { "weboptimizer/clientnode": "3.0.1292", "colors": "1.4.0", "globals@npm:^14.0.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch", "globals@npm:^11.1.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch", "globals@npm:^9.18.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch" }, "sideEffects": false, "documentationWebsite": { "languages": [ "deDE", "enUS" ], "name": "clientnode", "tagline": "upgrade to object orientated rock solid plugins<!--deDE:Schreibe Objekt orientierte solide Plugins-->", "trackingCode": "UA-40192634-7" }, "webOptimizer": { "debug": { "module": { "optimizer": { "babelMinify": { "module": null } } } }, "commandLine": { "test": { "environments": [ "jsdom", "node" ] } }, "files": { "compose": { "cascadingStyleSheet": null } }, "injection": { "entry": { "__evaluate__": "2 < self.givenCommandLineArguments.length && self.givenCommandLineArguments[2].startsWith('test') ? {testBundle: './test'} : '__auto__'" } }, "module": { "aliases": { "#": "Ensure that dependent modules uses latest clientnode version.", "TODO clientnode$": "../../src/index", "TODO clientnode/property-types$": "../../src/property-types", "TODO clientnode/type$": "../../src/type", "formdata-polyfill/esm.min.js$": "formdata-polyfill", "jquery$": "jquery/dist/jquery.min" }, "optimizer": { "babelMinify": { "bundle": { "transform": { "#": "To provide a logging output we need to exclude this feature.", "removeConsole": false } }, "#": "Avoids TypeError: Cannot read property 'removeBinding' of null.", "module": null } } }, "#": "Do not touch nodes environment variables on static builds to allow \"prop-types\" conditional exports.", "nodeENV": { "__evaluate__": "2 < self.givenCommandLineArguments.length && self.givenCommandLineArguments[2] === 'serve' ? null : false" }, "path": { "source": { "base": "src/" }, "target": { "base": "dist/" } }, "target:compatible": { "module": { "preprocessor": { "javaScript": { "options": { "plugins": { "__append__": "@babel/plugin-transform-proto-to-assign" } } } } } }, "target:bundle": { "module": { "preprocessor": { "javaScript": { "options": { "plugins": { "__remove__": "@babel/plugin-transform-runtime" } } } } } }, "test": { "injection": { "external": { "implicit": { "pattern": { "exclude": { "#": "NOTE: Theses files are ECMAscript file so have to be processed to work with test-runner.", "__append__": [ { "__evaluate__": "/^(.+\\/)?clientnode(\\/.+)?$/" }, { "__evaluate__": "/^(.+\\/)?data-uri-to-buffer(\\/.+)?$/" }, { "__evaluate__": "/^(.+\\/)?fetch-blob(\\/.+)?$/" }, { "__evaluate__": "/^(.+\\/)?node-fetch(\\/.+)?$/" } ] } } } } } } }, "packageManager": "yarn@4.9.2+sha512.1fc009bc09d13cfd0e19efa44cbfc2b9cf6ca61482725eb35bbc5e257e093ebf4130db6dfe15d604ff4b79efd8e1e8e99b25fa7d0a6197c9f9826358d4d65c3c" }