nodeguy/package.json
Atul R 86c3ef089c
Integration with Qode 2.0 (#400)
* Moves qt integration solely to the nodegui core addon

* Adds lint fixes

* moved to integration core

* cleans up export snippet

* revert package.json

* Add exit if app->exec finishes.

* lint fix

* Makes QApplication custom

* adds qobject to wrap of qapp

* Adds working qt run looper

* Adds font default

* Adds qt installer

* Updates qode integration to v2.0.1

* fix cpp lints

* Fixes lint and deps

* Adds miniqt installation

* adds setup mini qt script

* skips tests due to issues with jest

* fix config and download path for linux and windows

* Adds multiple artifact downloader

* fix qt config and compilation

* Fixes qode path for windows (now it can load dll's easily)

* Add compilation

* fix windows path setup

* use scripts directly

* enabled tests back

* fix ubuntu deps

* update to alpha release

* fix workflow

* adds more artifacts and funding field

* change to alpha v2

* update prebuild yml

* revert build action

* disabling prebuild for now

* switch to stable release 5.14.1

* version bump
2020-03-07 10:28:30 +01:00

86 lines
2.9 KiB
JSON

{
"name": "@nodegui/nodegui",
"version": "0.15.0-alpha-4",
"description": "A cross platform library to build native desktop apps.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"author": "Atul R <atulanand94@gmail.com>",
"license": "MIT",
"private": false,
"bin": {
"qode": "./scripts/qode.js"
},
"funding": {
"url": "https://github.com/sponsors/master-atul"
},
"scripts": {
"dev": "cross-env npm run build && node ./scripts/qode.js dist/demo.js",
"build": "cross-env tsc && npm run build:addon",
"postinstall": "cross-env npm run setupqt && (node ./scripts/skip.js || npm run prebuild:install || npm run build:addon)",
"setupqt": "cross-env node ./scripts/setupMiniQt.js",
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile",
"prebuild:install": "prebuild-install --backend=cmake-js --runtime=napi --verbose",
"test": "node ./scripts/qode.js ./node_modules/jest/bin/jest -i",
"lint:cpp": "cross-env clang-format -i --glob=src/cpp/**/*.[h,c]*",
"lint:ts": "cross-env tsc --noEmit && cross-env eslint './src/**/*.{ts,tsx,js,jsx}' --fix",
"docs": "cross-env typedoc && node ./website/docs/scripts/fixdocs.js",
"qode": "cross-env node ./scripts/qode.js"
},
"dependencies": {
"@nodegui/artifact-installer": "^1.0.0",
"@nodegui/qode": "^2.0.4",
"cmake-js": "^6.0.0",
"cross-env": "^7.0.0",
"cuid": "^2.1.6",
"manage-path": "^2.0.0",
"node-addon-api": "^2.0.0",
"postcss-nodegui-autoprefixer": "0.0.7",
"prebuild-install": "^5.3.3"
},
"devDependencies": {
"@types/bindings": "^1.3.0",
"@types/jest": "^25.1.1",
"@types/node": "^13.1.2",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"clang-format": "^1.3.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^4.0.10",
"jest": "^25.1.0",
"prebuild": "^10.0.0",
"prettier": "^1.18.2",
"ts-jest": "^25.0.0",
"typedoc": "^0.16.7",
"typedoc-plugin-markdown": "^2.2.14",
"typescript": "^3.7.3"
},
"binary": {
"napi_versions": [
3
]
},
"husky": {
"hooks": {
"pre-push": "npm run build && npm run lint:ts && npm run lint:cpp && npm run test"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/nodegui/nodegui.git"
},
"keywords": [
"nodegui",
"gui",
"qt",
"nodejs",
"css",
"desktop"
],
"bugs": {
"url": "https://github.com/nodegui/nodegui/issues"
},
"homepage": "https://github.com/nodegui/nodegui#readme"
}