nodeguy/package.json
2020-03-24 20:39:42 +01:00

87 lines
2.9 KiB
JSON

{
"name": "@nodegui/nodegui",
"version": "0.17.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.0.4",
"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": "^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.9.1",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.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": "^2.0.1",
"ts-jest": "^25.0.0",
"typedoc": "^0.17.0",
"typedoc-plugin-markdown": "^2.2.14",
"typescript": "^3.8.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"
}