2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-06-26 15:14:07 +00:00
nativefier/package.json
Ronan Jouchet 7c5b2bb68f Bump default Electron to 11.0.3, bump dep eslint-config-prettier to 7.x, bump version to something far away from current Electron version
Rationale for nonsensical major version bump: around Nativefier 8.x,
versions of Nativefier and Electron aligned, by release schedule coincidence.
Since Nativefier has little breaking changes, it was great: as Electron
releases are breaking, Nativefier had no breaking changes, I bumped our
major version on new major Electron, and everything was good.

Except *now*, as I have a breaking change, that would bump Nativefier to
12.x, which would be confusing since we'd still default to Electron 11 :-/ .

-> To keep respecting semver and reduce confusion, bumping Nativefier
   version to something far ahead. No it doesn't matter, version
   number are meaningless anyway (well, outside of semver, whose
   respect is precisely the point here).
2020-12-06 13:57:51 -05:00

105 lines
3.0 KiB
JSON

{
"name": "nativefier",
"version": "42.0.0",
"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",
"bin": {
"nativefier": "lib/cli.js"
},
"homepage": "https://github.com/jiahaog/nativefier",
"repository": {
"type": "git",
"url": "git+https://github.com/jiahaog/nativefier.git"
},
"bugs": {
"url": "https://github.com/jiahaog/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": {
"@types/cheerio": "0.x",
"@types/lodash": "4.x",
"@types/ncp": "2.x",
"@types/node": "10.x",
"@types/page-icon": "0.x",
"@types/shelljs": "0.x",
"@types/tmp": "0.x",
"axios": "0.x",
"cheerio": "^1.0.0-rc.3",
"commander": "4.x",
"electron-packager": "15.x",
"gitcloud": "0.x",
"hasbin": "1.x",
"lodash": "4.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",
"@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.*"
]
}
}