加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 7.03 KB
一键复制 编辑 原始数据 按行查看 历史
Alexandr Subbotin 提交于 2018-05-09 15:15 . v0.3.3
{
"name": "cerebro",
"productName": "Cerebro",
"version": "0.3.3",
"description": "Extendable electron-based open-source Spotlight and Alfred analogue",
"main": "main.js",
"scripts": {
"test": "cross-env NODE_ENV=test ./node_modules/.bin/mocha-webpack",
"test-watch": "yarn run test -- --watch",
"lint": "eslint app/background app/lib app/main test *.js",
"hot-server": "node -r babel-register server.js",
"build-main": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --progress --profile --colors",
"build-main-dev": "cross-env NODE_ENV=development node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --progress --profile --colors",
"build-renderer": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.production.js --progress --profile --colors",
"bundle-analyze": "cross-env ANALYZE=true NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.production.js --progress --profile --colors && open ./app/dist/stats.html",
"build": "yarn run build-main && yarn run build-renderer && yarn minify",
"minify": "node ./node_modules/uglify-es/bin/uglifyjs ./app/dist/main.bundle.js -o ./app/dist/main.bundle.js --mangle && node ./node_modules/uglify-es/bin/uglifyjs ./app/dist/background.bundle.js -o ./app/dist/background.bundle.js --mangle",
"start": "cross-env NODE_ENV=production electron ./app",
"start-hot": "yarn build-main-dev && cross-env HOT=1 NODE_ENV=development ./node_modules/.bin/electron -r babel-register ./app",
"package": "yarn run build && build --publish never",
"release": "build -mwl --draft",
"dev": "concurrently --kill-others \"yarn run hot-server\" \"yarn run start-hot\"",
"postinstall": "concurrently \"node node_modules/fbjs-scripts/node/check-dev-engines.js package.json\""
},
"build": {
"productName": "Cerebro",
"appId": "com.cerebroapp.Cerebro",
"protocols": {
"name": "Cerebro URLs",
"role": "Viewer",
"schemes": [
"cerebro"
]
},
"directories": {
"app": "./app",
"output": "release"
},
"linux": {
"target": [
{
"target": "deb",
"arch": [
"x64"
]
},
{
"target": "AppImage",
"arch": [
"x64"
]
}
],
"category": "Utility"
},
"mac": {
"category": "public.app-category.productivity"
},
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
]
},
"nsis": {
"include": "build/installer.nsh",
"perMachine": true
},
"files": [
"dist/",
"main/index.html",
"main/css,",
"background/index.html",
"tray_icon.png",
"tray_icon.ico",
"tray_iconTemplate@2x.png",
"node_modules/",
"main.js",
"main.js.map",
"package.json",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts}",
"!**/node_modules/.bin",
"!**/*.{o,hprof,orig,pyc,pyo,rbc}",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.flowconfig,.yarn-metadata.json,.idea,appveyor.yml,.travis.yml,circle.yml,npm-debug.log,.nyc_output,yarn.lock,.yarn-integrity}"
],
"squirrelWindows": {
"iconUrl": "https://raw.githubusercontent.com/KELiON/cerebro/master/build/icon.ico"
},
"publish": {
"provider": "github",
"vPrefixedTagName": false
}
},
"bin": {
"electron": "./node_modules/.bin/electron"
},
"repository": {
"type": "git",
"url": "git+https://github.com/KELiON/cerebro.git"
},
"author": {
"name": "Alexandr Subbotin",
"email": "kelionweb@gmail.com",
"url": "https://github.com/KELiON"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/KELiON/cerebro/issues"
},
"keywords": [
"launcher",
"electron",
"alfred",
"spotlight"
],
"homepage": "https://cerebroapp.com",
"devDependencies": {
"asar": "0.13.0",
"autoprefixer": "^7.1.2",
"babel-core": "^6.25.0",
"babel-eslint": "7.2.3",
"babel-loader": "^7.1.1",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-transform-object-rest-spread": "6.23.0",
"babel-plugin-transform-remove-debugger": "^6.8.4",
"babel-preset-react": "6.24.1",
"babel-preset-react-hmre": "1.1.1",
"babel-register": "^6.24.1",
"chai": "^4.1.0",
"chai-spies": "0.7.1",
"co-mocha": "1.2.0",
"concurrently": "^3.5.0",
"copy-webpack-plugin": "4.0.1",
"cross-env": "^5.0.2",
"css-loader": "^0.28.4",
"electron": "^1.6.11",
"electron-builder": "17.10.0",
"electron-rebuild": "1.5.11",
"eslint": "^4.2.0",
"eslint-config-airbnb": "^15.0.2",
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.0.1",
"eslint-plugin-react": "^7.1.0",
"expect": "1.20.2",
"express": "^4.15.3",
"extract-text-webpack-plugin": "^3.0.0",
"fbjs-scripts": "^0.8.0",
"file-loader": "^0.11.2",
"inject-loader": "3.0.0",
"jsdom": "^11.1.0",
"json-loader": "0.5.4",
"lodash-webpack-plugin": "^0.11.4",
"minimist": "1.2.0",
"mocha": "^3.4.2",
"mocha-webpack": "0.7.0",
"node-libs-browser": "2.0.0",
"null-loader": "0.1.1",
"optimize-js-plugin": "0.0.4",
"postcss-loader": "^2.0.6",
"postcss-nested": "^2.0.2",
"raw-loader": "0.5.1",
"react-addons-test-utils": "^15.6.0",
"sinon": "^2.3.7",
"style-loader": "^0.18.2",
"uglify-es": "^3.0.24",
"url-loader": "^0.5.9",
"webpack": "^3.2.0",
"webpack-dev-middleware": "^1.11.0",
"webpack-hot-middleware": "^2.18.2",
"webpack-visualizer-plugin": "^0.1.11"
},
"dependencies": {
"auto-launch": "^5.0.1",
"cerebro-tools": "0.1.8",
"cerebro-ui": "^0.0.16",
"escape-string-regexp": "1.0.5",
"fix-path": "2.1.0",
"lodash": "^4.17.4",
"mv": "^2.1.1",
"node-machine-id": "^1.1.8",
"normalize.css": "^7.0.0",
"postcss": "^6.0.6",
"react": "^15.6.1",
"react-addons-css-transition-group": "^15.6.0",
"react-addons-shallow-compare": "^15.6.0",
"react-dom": "^15.6.1",
"react-input-autosize": "^1.1.0",
"react-markdown": "^2.5.0",
"react-redux": "^5.0.5",
"react-virtualized": "https://registry.npmjs.org/react-virtualized/-/react-virtualized-7.11.8.tgz",
"redux": "^3.7.1",
"redux-thunk": "^2.2.0",
"source-map-support": "^0.4.15",
"tar-fs": "1.15.0"
},
"devEngines": {
"node": ">=6.x"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化