mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-06-03 05:10:47 +00:00
6fb3b92eb8
* Update deps except eslint * Update eslint and lint:fix (WIP, needs manual fixing for remaining 44 problems) * Manually fix remaining eslint errors * Document deprecation of `version-string` as of electron-packager 9.0.0 * Upgrade to Electron 1.7.9 (chrome-58, node-7.9.0, v8-5.8) * npm: Disable generation of package-lock.json and gitignore it --Trying this, package-lock is a pain in PRs. May not be a good idea (obviously we lose deps pinning), will revert if necessary.-- * npm tasks: add dev-up-win for Windows developers, and e2e for end-to-end tests. Update docs. * Move normalizeUrl test to a jest unit test, makes no sense to be in the mocha e2e tests * Switch from babel-preset-es2015 to babel-preset-env, with target.node=4.0. Seem like it's today's most convenient way to support the latest ES and let babel transpile to what makes sense for our currently minimal node version
107 lines
2.9 KiB
JSON
107 lines
2.9 KiB
JSON
{
|
|
"name": "nativefier",
|
|
"version": "7.5.1",
|
|
"description": "Wrap web apps natively",
|
|
"keywords": [
|
|
"desktop",
|
|
"electron",
|
|
"app",
|
|
"native",
|
|
"wrapper"
|
|
],
|
|
"main": "lib/index.js",
|
|
"scripts": {
|
|
"dev-up": "npm install && (cd ./app && npm install) && npm run build",
|
|
"dev-up-win": "npm install & cd app & npm install & cd .. & npm run build",
|
|
"test": "jest && gulp test",
|
|
"jest": "jest",
|
|
"e2e": "gulp test",
|
|
"tdd": "gulp tdd",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"ci": "gulp build test && npm run lint",
|
|
"clean": "gulp clean",
|
|
"build": "gulp build",
|
|
"watch": "while true ; do gulp watch ; done",
|
|
"package-placeholder": "npm run build && node lib/cli.js http://www.bennish.net/web-notifications.html ~/Desktop --overwrite --name notification-test --icon ./test-resources/iconSampleGrey.png --inject ./test-resources/test-injection.js --inject ./test-resources/test-injection.css && open ~/Desktop/notification-test-darwin-x64/notification-test.app",
|
|
"start-placeholder": "npm run build && electron app",
|
|
"changelog": "./scripts/changelog"
|
|
},
|
|
"bin": {
|
|
"nativefier": "lib/cli.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jiahaog/nativefier.git"
|
|
},
|
|
"author": "Goh Jia Hao",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/jiahaog/nativefier/issues"
|
|
},
|
|
"homepage": "https://github.com/jiahaog/nativefier#readme",
|
|
"dependencies": {
|
|
"async": "^2.6.0",
|
|
"axios": "^0.17.1",
|
|
"babel-polyfill": "^6.26.0",
|
|
"cheerio": "^1.0.0-rc.2",
|
|
"commander": "^2.11.0",
|
|
"electron-packager": "^9.1.0",
|
|
"gitcloud": "^0.1.0",
|
|
"hasbin": "^1.2.3",
|
|
"lodash": "^4.17.4",
|
|
"loglevel": "^1.5.1",
|
|
"ncp": "^2.0.0",
|
|
"page-icon": "^0.3.0",
|
|
"progress": "^2.0.0",
|
|
"sanitize-filename": "^1.6.1",
|
|
"shelljs": "^0.7.8",
|
|
"source-map-support": "^0.5.0",
|
|
"tmp": "0.0.33",
|
|
"validator": "^9.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.26.0",
|
|
"babel-jest": "^21.2.0",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-preset-env": "^1.6.1",
|
|
"babel-register": "^6.26.0",
|
|
"chai": "^4.1.2",
|
|
"del": "^3.0.0",
|
|
"eslint": "^4.11.0",
|
|
"eslint-config-airbnb-base": "^12.1.0",
|
|
"eslint-plugin-import": "^2.8.0",
|
|
"gulp": "^3.9.1",
|
|
"gulp-babel": "^7.0.0",
|
|
"gulp-istanbul": "^1.1.2",
|
|
"gulp-mocha": "^4.3.1",
|
|
"gulp-sourcemaps": "^2.6.1",
|
|
"isparta": "^4.0.0",
|
|
"jest": "^21.2.1",
|
|
"regenerator-runtime": "^0.11.0",
|
|
"require-dir": "^0.3.2",
|
|
"run-sequence": "^2.2.0",
|
|
"webpack-stream": "^4.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 4.0"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
[
|
|
"env",
|
|
{
|
|
"targets": {
|
|
"node": "4.0.0"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"jest": {
|
|
"testMatch": [
|
|
"**/src/**/?(*.)(spec|test).js?(x)"
|
|
]
|
|
}
|
|
}
|