87 lines
2.9 KiB
JSON
87 lines
2.9 KiB
JSON
{
|
|
"name": "@nodegui/nodegui",
|
|
"version": "0.24.0",
|
|
"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.1.0",
|
|
"@nodegui/qode": "^2.1.0",
|
|
"cmake-js": "^6.1.0",
|
|
"cross-env": "^7.0.0",
|
|
"cuid": "^2.1.6",
|
|
"manage-path": "^2.0.0",
|
|
"memoize-one": "^5.1.1",
|
|
"node-addon-api": "^3.0.0",
|
|
"postcss-nodegui-autoprefixer": "0.0.7",
|
|
"prebuild-install": "^5.3.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bindings": "^1.3.0",
|
|
"@types/jest": "^26.0.3",
|
|
"@types/node": "^14.0.14",
|
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
"@typescript-eslint/parser": "^2.34.0",
|
|
"clang-format": "^1.3.0",
|
|
"eslint": "^6.6.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"husky": "^4.2.5",
|
|
"jest": "^25.5.4",
|
|
"prebuild": "^10.0.0",
|
|
"prettier": "^2.0.5",
|
|
"ts-jest": "^25.5.1",
|
|
"typedoc": "^0.17.8",
|
|
"typedoc-plugin-markdown": "^2.3.1",
|
|
"typescript": "^3.9.6"
|
|
},
|
|
"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"
|
|
}
|