nodeguy/package.json
2019-12-29 09:37:05 +05:30

52 lines
1.8 KiB
JSON

{
"name": "@nodegui/nodegui",
"version": "0.12.1",
"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": "npm run build:addon",
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile",
"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 && mv ./website/website/sidebars.js ./website/docs/api/sidebar-gen.js && rm -rf website/docs/api/generated/index.md"
},
"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"
},
"devDependencies": {
"@types/bindings": "^1.3.0",
"@types/jest": "^24.0.18",
"@types/node": "^12.0.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": "^3.0.9",
"jest": "^24.9.0",
"prettier": "^1.18.2",
"ts-jest": "^24.1.0",
"typedoc": "^0.15.5",
"typedoc-plugin-markdown": "^2.2.14",
"typescript": "^3.7.3"
},
"husky": {
"hooks": {
"pre-push": "npm run build && npm run lint:ts && npm run lint:cpp && npm run test"
}
}
}