57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"name": "@nodegui/nodegui",
|
|
"version": "0.5.1",
|
|
"description": "A cross platform library to build native desktop apps.",
|
|
"main": "dist/index.js",
|
|
"typings": "dist/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"config",
|
|
"CMakeLists.txt",
|
|
"src/cpp",
|
|
"extras/legal",
|
|
"plugin"
|
|
],
|
|
"author": "Atul R <atulanand94@gmail.com>",
|
|
"license": "MIT",
|
|
"private": false,
|
|
"scripts": {
|
|
"dev": "npm run build && qode dist/demo.js",
|
|
"postinstall": "npm run build:addon",
|
|
"build": "tsc && npm run build:addon",
|
|
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js build",
|
|
"test": "qode ./node_modules/.bin/jest",
|
|
"lint:cpp": "clang-format -i --glob=src/cpp/**/*.[h,c]*",
|
|
"lint:ts": "tsc --noEmit && eslint './src/**/*.{ts,tsx,js,jsx}' --fix"
|
|
},
|
|
"dependencies": {
|
|
"@nodegui/qode": "^1.0.5",
|
|
"cmake-js": "^6.0.0",
|
|
"cross-env": "^6.0.0",
|
|
"cuid": "^2.1.6",
|
|
"node-addon-api": "^1.6.3",
|
|
"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.6.1",
|
|
"@typescript-eslint/parser": "^2.6.1",
|
|
"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",
|
|
"typescript": "^3.7.2"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-push": "npm run lint:ts && npm run lint:cpp && npm run test"
|
|
}
|
|
}
|
|
}
|