mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-01 10:33:14 +08:00
Summary: Grunt is hardcoded to use paths relative to wherever the Gruntfile is located. Unfortunately it also expects the grunt packages to be siblings of that gruntfile. We can get around this by changing the relative base path, but then the cwd is different for each tasks. This is okay as long as we use absolute paths for various files in each of our tasks. This updates our grunt tasks to use absolute paths Test Plan: `npm run build-client` Reviewers: spang, halla, jerm, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D3987
67 lines
2.4 KiB
JSON
67 lines
2.4 KiB
JSON
{
|
|
"name": "nylas-mail-all",
|
|
"version": "0.0.1",
|
|
"description": "All components required to run Nylas Mail",
|
|
"devDependencies": {
|
|
"babel-cli": "6.x.x",
|
|
"babel-core": "6.x.x",
|
|
"babel-eslint": "7.1.0",
|
|
"babel-preset-electron": "1.4.15",
|
|
"babel-preset-react": "6.x.x",
|
|
"chalk": "1.x.x",
|
|
"coffeelint-cjsx": "2.x.x",
|
|
"electron-installer-dmg": "0.2.x",
|
|
"electron-packager": "8.4.x",
|
|
"eslint": "3.10.1",
|
|
"eslint-config-airbnb": "13.0.0",
|
|
"eslint-plugin-import": "2.2.0",
|
|
"eslint-plugin-jsx-a11y": "2.2.3",
|
|
"eslint-plugin-react": "6.7.1",
|
|
"eslint_d": "4.2.0",
|
|
"fs-extra": "2.x.x",
|
|
"fs-plus": "2.x.x",
|
|
"glob": "7.x.x",
|
|
"grunt": "0.4.x",
|
|
"grunt-cli": "0.1.x",
|
|
"grunt-coffeelint": "git+https://github.com/atom/grunt-coffeelint.git#cfb99aa99811d52687969532bd5a98011ed95bfe",
|
|
"grunt-coffeelint-cjsx": "0.1.x",
|
|
"grunt-contrib-coffee": "0.12.x",
|
|
"grunt-contrib-csslint": "0.5.x",
|
|
"grunt-contrib-less": "0.8.x",
|
|
"grunt-electron-installer": "2.x.x",
|
|
"grunt-lesslint": "0.13.x",
|
|
"lerna": "2.0.0-beta.37",
|
|
"load-grunt-parent-tasks": "0.1.1",
|
|
"pm2": "2.4.0",
|
|
"request": "2.x.x",
|
|
"s3": "4.x.x",
|
|
"temp": "0.8.x",
|
|
"underscore": "1.8.x"
|
|
},
|
|
"scripts": {
|
|
"start": "npm run start-client",
|
|
"test": "npm run test-client",
|
|
"start-client": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --dev",
|
|
"test-client": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --test",
|
|
"test-client-window": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --test=window",
|
|
"test-client-junit": "",
|
|
"build-client": "grunt build --gruntfile=packages/client-app/build/Gruntfile.js --base=./",
|
|
"start-cloud": "pm2 stop all; pm2 delete all; pm2 start packages/cloud-core/pm2-dev.yml --no-daemon",
|
|
"start-cloud-debug": "pm2 stop all; pm2 delete all; pm2 start packages/cloud-core/pm2-debug-cloud-api.yml --no-daemon",
|
|
"test-cloud": "",
|
|
"stop": "npm run stop-cloud",
|
|
"stop-cloud": "pm2 stop all; pm2 delete all;",
|
|
"build-cloud": "docker build .",
|
|
"postinstall": "babel-node scripts/postinstall.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/nylas/nylas-mail-all.git"
|
|
},
|
|
"author": "Nylas",
|
|
"license": "proprietary",
|
|
"engines": {
|
|
"node": "6.9.1",
|
|
"npm": "3.10.8"
|
|
}
|
|
}
|