96 líneas
3.3 KiB
JSON
96 líneas
3.3 KiB
JSON
{
|
|
"name": "node-red-contrib-ui-led",
|
|
"version": "0.4.11",
|
|
"description": "A simple LED status indicator for the Node-RED Dashboard",
|
|
"author": "Ian G <yo.ian.g@gmail.com>",
|
|
"license": "MIT",
|
|
"node-red": {
|
|
"nodes": {
|
|
"ui_led": "./dist/nodes/ui_led/ui_led.js"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"node-red",
|
|
"led",
|
|
"dashboard",
|
|
"ui"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/Adorkable/node-red-contrib-ui-led/issues"
|
|
},
|
|
"homepage": "https://github.com/Adorkable/node-red-contrib-ui-led",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Adorkable/node-red-contrib-ui-led.git"
|
|
},
|
|
"scripts": {
|
|
"copy": "copyfiles -u 2 \"./src/nodes/**/*.{png,svg}\" \"./dist/nodes/\"",
|
|
"build:editor": "rollup -c rollup.config.editor.js",
|
|
"build:editor:watch": "rollup -c rollup.config.editor.js -w",
|
|
"build:runtime": "tsc -p tsconfig.runtime.json",
|
|
"build:runtime:watch": "tsc -p tsconfig.runtime.watch.json --watch --preserveWatchOutput",
|
|
"build": "rm -rf dist && npm run copy && npm run build:editor && npm run build:runtime",
|
|
"test": "jest --forceExit --detectOpenHandles --colors --passWithNoTests",
|
|
"test:watch": "jest --forceExit --detectOpenHandles --watchAll --passWithNoTests",
|
|
"dev": "rm -rf dist && npm run copy && concurrently --kill-others --names 'COPY,EDITOR,RUNTIME,LINT,TEST' --prefix '({name})' --prefix-colors 'greenBright.bold,yellow.bold,cyan.bold,redBright.bold,magenta.bold' 'onchange -v \"src/**/*.png\" \"src/**/*.svg\" -- npm run copy' 'npm run lint:watch' 'npm run build:editor:watch' 'npm run build:runtime:watch' 'sleep 10; npm run test:watch'",
|
|
"lint": "prettier --ignore-path .eslintignore --check '**/*.{js,ts,md}'; eslint --ext .js,.ts .",
|
|
"lint:fix": "prettier --ignore-path .eslintignore --write '**/*.{js,ts,md}'; eslint --ext .js,.ts . --fix",
|
|
"lint:watch": "onchange -v \"**/*.{js,ts,md}\" -- npm run lint",
|
|
"release": "npm run build && npm publish"
|
|
},
|
|
"dependencies": {
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-typescript": "^8.0.0",
|
|
"@types/angular": "^1.8.0",
|
|
"@types/express": "^4.17.9",
|
|
"@types/jest": "^26.0.15",
|
|
"@types/jqueryui": "^1.12.14",
|
|
"@types/node": "^14.14.10",
|
|
"@types/node-red": "^1.1.1",
|
|
"@types/node-red-node-test-helper": "^0.2.1",
|
|
"@types/sinon": "^9.0.9",
|
|
"@types/supertest": "^2.0.10",
|
|
"@typescript-eslint/eslint-plugin": "^4.9.0",
|
|
"@typescript-eslint/parser": "^4.9.0",
|
|
"colorette": "^1.2.1",
|
|
"concurrently": "^5.3.0",
|
|
"copyfiles": "^2.4.1",
|
|
"eslint": "^7.14.0",
|
|
"eslint-config-prettier": "^7.1.0",
|
|
"eslint-plugin-jest": "^24.1.3",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"glob": "^7.1.6",
|
|
"jest": "^26.6.3",
|
|
"mustache": "^4.0.1",
|
|
"node-red": "^1.2.6",
|
|
"node-red-dashboard": ">=2.23.3",
|
|
"node-red-node-test-helper": "^0.2.5",
|
|
"onchange": "^7.0.2",
|
|
"prettier": "^2.2.1",
|
|
"rollup": "^2.23.0",
|
|
"ts-jest": "^26.4.4",
|
|
"typescript": "^4.1.2"
|
|
},
|
|
"peerDependencies": {
|
|
"node-red-dashboard": ">=2.23.3"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"roots": [
|
|
"<rootDir>/src"
|
|
],
|
|
"transform": {
|
|
"^.+\\.ts$": "ts-jest"
|
|
},
|
|
"testMatch": [
|
|
"**/__tests__/**/*.test.ts"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"printWidth": 80,
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"trailingComma": "none"
|
|
}
|
|
} |