nodeguy/package.json
Atul R a84bc69a26
Adds prebuilt binary builder setup (#366)
* Prebuilt setup (#3)

* Adds prebuild

* Adds prebuild

* fix branch name

* adds prebuild upload

* fix windows build and performance bump for prebuild

* remove pre-release

* adds updated

* edited

* test

* move to all platforms

* change to master

* change to release event

* install qode explicitly

* Adds npm skip build flag

* Adds build triggers

* Repo dispatchs

* change to all events

* Update prebuild.yml

* test

* fix prevuild

* test

* test

* change to master release

* change to nodegui

* change the master tag check

* adds conditional before overwriting NAPI_VERSION
2020-01-24 19:11:01 +01:00

77 lines
2.5 KiB
JSON

{
"name": "@nodegui/nodegui",
"version": "0.13.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,
"scripts": {
"dev": "npm run build && qode dist/demo.js",
"build": "tsc && npm run build:addon",
"postinstall": "cross-env node ./scripts/skip.js || npm run prebuild:install || npm run build:addon",
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile",
"prebuild:build": "prebuild --all --backend=cmake-js --runtime=napi",
"prebuild:install": "prebuild-install --backend=cmake-js --runtime=napi --verbose",
"test": "qode ./node_modules/jest/bin/jest -i",
"lint:cpp": "clang-format -i --glob=src/cpp/**/*.[h,c]*",
"lint:ts": "tsc --noEmit && cross-env eslint './src/**/*.{ts,tsx,js,jsx}' --fix",
"docs": "typedoc && node ./website/docs/scripts/fixdocs.js"
},
"dependencies": {
"@nodegui/qode": "^1.0.6",
"cmake-js": "^6.0.0",
"cross-env": "^6.0.0",
"cuid": "^2.1.6",
"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": "^24.0.18",
"@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": "^24.9.0",
"prebuild": "^9.1.1",
"prettier": "^1.18.2",
"ts-jest": "^24.1.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"
}