nope/package.json
Martin Karkowski 20112adbe5 # 1.2.0
- Added:
  - `lib/cli/nope` adding scan for ui service
  - `lib/decorators/container`: Main Container, holding all `methods` and `classes`. Use `getCentralDecoratedContainer()` to get this decorator.
  - `types/nope/nopePackage.interface` added `IClassDescription` which contains the class description used in the Package Description.
  - `logger/nopeLogger`: added methods: `enabledFor`, `enableFor`, `shouldLog`
  - `package.json`: installed types of `ace` text editor.
  - `ui/helpers.browser`: Created `convertInstanceRenderPage` and `IUiDefinition`
  - `ui/helpers.nodejs`: Added a Helper to write the Ui-File (`writeUiFile`) and parse its arguments (`readInwriteUiFileArgs`)
  - `ui/index.*`: Crated the corresponding exports.
- Modified:
  - `lib/decorators/*` Adding the main `container` where every function, service method etc is added. All decorators now safe the decorated elements in the container.
  - `helpers/json`: Adding `BEGIN_STR` and `END_STR` for parsing functions as constants.
  - `logger/eventLogging`: simplify `useEventLogger`
  - `logger/index.browser`: Adating exports.
  - `loader/loadPackages`: Modifing `IPackageConfig` now extends Partial the `IPackageDescription`
  - `types/ui/editor/IEditPage`: adapting Type of `getData` to `T`->`any`. Adapting the return of `getPorts` (The Ports will be generated in the ui then)
  - `types/ui/editor/helpers.interface`: Adapting the `w2ui` and added `w2uiHelpers` and added `ace`. Rearanging `IRenderData` element. to compact the data.
  - `types/ui/editor/render.callbacks`: Rearange the Generic Type of `TRenderInstancePage` and Renaming `TCreatorPage` to `TInstanceManagerPage`. Adapting the `option` of `TInstanceManagerPage` regarding the `createInstance` and `instances`
  - `types/ui/editor/index`: Adapting the Exports.
  - `lib/index.browser`: Exporting `ui` elements
  - `lib/index.nodejs`: Exporting `ui` elements
  - `lib/types/index`: Exporting `ui` elements
- Fixes:
  - `types/nope/nopeInstanceManager.interface`: Fixing Type of createInstance. Now the Type `I` extends `INopeModule` instead of being set to `IGenericNopeModule`
2022-07-02 11:30:10 +02:00

101 lines
3.0 KiB
JSON

{
"name": "nope",
"version": "1.2.0",
"description": "NoPE Runtime for Nodejs. For Browser-Support please use nope-browser",
"files": [
"dist-nodejs/**/*",
"lib/**/*",
"bin/*"
],
"scripts": {
"test": "mocha",
"compile-nodejs": "tsc -p ./tsconfig.json",
"compile-browser": "tsc -p ./tsconfig.browser.json",
"build": "npx webpack -c webpack-typescript.config.js",
"doc": "npx typedoc",
"start": "node ./dist/cli/repl.js",
"prettier-format": "run-script-os",
"prettier-format:win32": "prettier \"./lib/**/*.ts\" --write",
"prettier-format:darwin:linux": "prettier 'lib/**/*.ts' --write",
"prettier-format:default": "prettier 'lib/**/*.ts' --write",
"prettier-watch": "run-script-os",
"prettier-watch:win32": "onchange \"lib/**/*.ts\" -- prettier --write {{changed}}",
"prettier-watch:darwin:linux": "onchange 'lib/**/*.ts' -- prettier --write {{changed}}",
"prettier-watch:default": "onchange 'lib/**/*.ts' -- prettier --write {{changed}}"
},
"mocha": {
"reporter": "spec",
"spec": "dist-nodejs/**/*.spec.js"
},
"repository": {
"type": "git",
"url": "git+https://git.zema.de/tfs/ZISS/_git/nope-js"
},
"keywords": [],
"author": "Martin Karkowski",
"license": "MIT",
"bugs": {
"url": "https://git.zema.de/tfs/ZISS/_git/nope-js/issues"
},
"homepage": "https://git.zema.de/tfs/ZISS/_git/nope-js#readme",
"dependencies": {
"argparse": "^2.0.1",
"async": "^3.2.2",
"comment-parser": "^1.3.0",
"cors": "^2.8.5",
"handlebars": "^4.7.7",
"inquirer": "^8.2.0",
"inquirer-fuzzy-path": "^2.3.0",
"inquirer-search-list": "^1.2.6",
"inversify": "^6.0.1",
"js-logger": "^1.6.1",
"lodash": "^4.17.21",
"mathjs": "^10.0.2",
"mqtt": "^4.3.4",
"mqtt-pattern": "^1.2.0",
"npm": "^8.3.0",
"npx": "^10.2.2",
"reflect-metadata": "^0.1.13",
"run-script-os": "^1.1.6",
"rxjs": "^7.5.1",
"socket.io": "^4.4.1",
"socket.io-client": "^4.4.1",
"ts-morph": "^13.0.2",
"typescript-json-schema": "^0.52.0",
"uuid": "^8.3.2",
"v8-profiler-next": "^1.5.1",
"websocket-stream": "^5.5.2"
},
"devDependencies": {
"@types/ace": "^0.0.48",
"@types/async": "^3.2.12",
"@types/chai": "^4.3.0",
"@types/lodash": "^4.14.178",
"@types/node": "^17.0.9",
"@types/plotly.js": "^1.54.22",
"@types/socket.io": "^3.0.1",
"@types/socket.io-client": "^1.4.36",
"chai": "^4.3.4",
"dts-bundle": "^0.7.3",
"dts-bundle-webpack": "^1.0.2",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"gojs": "^2.2.11",
"mocha": "^9.1.3",
"npm-check-updates": "^12.1.0",
"onchange": "^7.1.0",
"prettier": "2.5.1",
"typedoc": "^0.22.10",
"typedoc-plugin-mermaid": "^1.6.0",
"typedoc-umlclass": "^0.6.0",
"typescript": "^4.5.4",
"webpack": "^4.46.0",
"webpack-cli": "^4.8.0"
},
"bin": {
"nope-js": "./bin/nope"
},
"main": "dist-nodejs/index.nodejs.js"
}