2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-11 15:51:06 +00:00
nativefier/package.json
2021-01-30 05:04:51 +00:00

102 lines
3.0 KiB
JSON

{
"name": "nativefier",
"version": "42.2.1",
"description": "Wrap web apps natively",
"license": "MIT",
"author": "Goh Jia Hao",
"engines": {
"node": ">= 10.0.0",
"npm": ">= 6.0.0"
},
"keywords": [
"desktop",
"electron",
"app",
"native",
"wrapper"
],
"main": "lib/main.js",
"typings": "lib/main.d.ts",
"bin": {
"nativefier": "lib/cli.js"
},
"homepage": "https://github.com/nativefier/nativefier",
"repository": {
"type": "git",
"url": "git+https://github.com/nativefier/nativefier.git"
},
"bugs": {
"url": "https://github.com/nativefier/nativefier/issues"
},
"scripts": {
"build-app": "cd app && webpack",
"build-app-static": "ncp app/src/static/ app/lib/static/ && ncp app/dist/preload.js app/lib/preload.js && ncp app/dist/preload.js.map app/lib/preload.js.map",
"build": "npm run clean && tsc --build . app && npm run build-app && npm run build-app-static",
"build:watch": "tsc --build . app --watch",
"dev-up": "npm install && cd ./app && npm install && cd ..",
"dev-up-win": "npm install & cd app & npm install & cd ..",
"changelog": "./docs/generate-changelog",
"ci": "npm run lint && npm test",
"clean": "rimraf lib/ app/lib/ app/dist/",
"clean:full": "rimraf lib/ app/lib/ app/dist/ node_modules/ app/node_modules/",
"lint:fix": "eslint . --fix",
"lint:format": "prettier --write 'src/**/*.js' 'app/src/**/*.js'",
"lint": "eslint . --ext .ts",
"list-outdated-deps": "npm out; cd app && npm out; true",
"prepare": "cd ./app && npm install && cd .. && npm run build",
"test:integration": "jest --testRegex '.*integration-test.js'",
"test:manual": "npm run build && ./docs/manual-test",
"test:unit": "jest",
"test:watch": "jest --watch",
"test:withlog": "LOGLEVEL=trace npm run test",
"test": "jest --testRegex '[-.]test\\.js$'",
"watch": "npx concurrently \"npm:*:watch\""
},
"dependencies": {
"axios": "0.x",
"commander": "4.x",
"electron-packager": "15.x",
"gitcloud": "0.x",
"hasbin": "1.x",
"loglevel": "1.x",
"ncp": "2.x",
"page-icon": "0.x",
"sanitize-filename": "1.x",
"shelljs": "0.x",
"source-map-support": "0.x",
"tmp": "0.x"
},
"devDependencies": {
"@types/jest": "26.x",
"@types/ncp": "2.x",
"@types/node": "10.x",
"@types/page-icon": "0.x",
"@types/shelljs": "0.x",
"@types/tmp": "0.x",
"@typescript-eslint/eslint-plugin": "4.x",
"@typescript-eslint/parser": "4.x",
"eslint": "7.x",
"eslint-config-prettier": "7.x",
"eslint-plugin-prettier": "3.x",
"jest": "26.x",
"prettier": "2.x",
"rimraf": "3.x",
"ts-loader": "8.x",
"typescript": "4.x",
"webpack": "5.x",
"webpack-cli": "4.x"
},
"jest": {
"collectCoverage": true,
"setupFiles": [
"./lib/jestSetupFiles"
],
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/app/src.*",
"<rootDir>/src.*"
]
}
}