mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-20 14:10:16 -06:00
* appveyor build for this branch * don't force install ffmpeg on windows don't force install ffmpeg on windows * derp * fix * build in appveyor * oops * delete using del * use RMDIR instead of DEL * only build 32-bit * build for x64 and x86 windows * separate win32 and win64 * require lodash * make electron arch configurable * cross-compile 32, only run in 64-bit * force install ffmpeg if necessary * it's all win10 x64, but we can force it to build for ia32 in x32 mode * add windows util * who's idea was it to make whitespace meaningful? * pass arch to npm install, pass arch to uploader * add TARGET_PLATFORM * fun fact: appveyor titlecases env var names fun fact: appveyor titlecases env var names * fix: pass args * use process * cli: use arch package to send arch to server * pass TARGET_ARCH to all npm installs * run-all * always call getUploadNameByOs * use the precise version of node, enable both x64 and ia32 arch * quotes * uh wat * move console logs to script because windows * add yet another env var to install the right node arch * use x86, not x32 * give ia32 a try, why not * use platform env again * and also try x86 again * remove notion of target_arch since we're using the right node version with arch set correctly * more comprehensive checks to ensure the arch is correct * simplify building the binary, do not accept arch as options * build the binary and test it on this branch * remove arch, ensure that process.env.Platform is set to x86 * do build the binary unless this is a forked PR * attempt to verify that this is a 32bit or 64bit windows binary * remove unused dep * consolidate commands * don't install packages in windows - just build the binary - this avoids needing to reinstall all node_modules and build-js twice * build the binary on more branches * cd up appveyor * ugh * right logic for whether or not this is a forked PR * remove unused deps * fix undefined var * platformArch * set in options * turns out we do have to npm install before building the binary * options.platformArch * comment out appveyor build 32bit/64bit verification temporarily Co-authored-by: Brian Mann <brian.mann86@gmail.com>
110 lines
3.1 KiB
JSON
110 lines
3.1 KiB
JSON
{
|
|
"name": "cypress",
|
|
"version": "0.0.0",
|
|
"main": "index.js",
|
|
"private": true,
|
|
"bin": {
|
|
"cypress": "bin/cypress"
|
|
},
|
|
"engines": {
|
|
"node": ">=4.0.0"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "node ./scripts/post-install.js",
|
|
"pretest": "npm run check-deps-pre",
|
|
"test": "npm run test-unit",
|
|
"pretest-unit": "npm run check-deps-pre",
|
|
"test-unit": "npm run unit",
|
|
"pretest-watch": "npm run check-deps-pre",
|
|
"test-watch": "npm run unit -- --watch",
|
|
"check-deps": "node ../scripts/check-deps.js --verbose",
|
|
"check-deps-pre": "npm run check-deps -- --prescript",
|
|
"test-dependencies": "npm run check-deps && dependency-check . --no-dev",
|
|
"test-debug": "node --inspect --debug-brk $(bin-up _mocha)",
|
|
"test-cov": "nyc npm run unit",
|
|
"unit": "BLUEBIRD_DEBUG=1 NODE_ENV=test bin-up mocha --reporter mocha-multi-reporters --reporter-options configFile=../mocha-reporter-config.json",
|
|
"lint": "bin-up eslint --fix *.js scripts/*.js bin/* lib/*.js lib/**/*.js test/*.js test/**/*.js",
|
|
"dtslint": "dtslint types",
|
|
"prebuild": "npm run test-dependencies && node ./scripts/start-build.js",
|
|
"build": "node ./scripts/build.js",
|
|
"prerelease": "npm run build",
|
|
"release": "cd build && releaser --no-node --no-changelog",
|
|
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"test",
|
|
"scripts"
|
|
]
|
|
},
|
|
"types": "types",
|
|
"dependencies": {
|
|
"@cypress/listr-verbose-renderer": "0.4.1",
|
|
"@cypress/xvfb": "1.2.4",
|
|
"arch": "2.1.1",
|
|
"bluebird": "3.5.0",
|
|
"cachedir": "1.3.0",
|
|
"chalk": "2.4.2",
|
|
"check-more-types": "2.24.0",
|
|
"commander": "2.15.1",
|
|
"common-tags": "1.8.0",
|
|
"debug": "3.1.0",
|
|
"execa": "0.10.0",
|
|
"executable": "4.1.1",
|
|
"extract-zip": "1.6.7",
|
|
"fs-extra": "4.0.1",
|
|
"getos": "3.1.0",
|
|
"glob": "7.1.3",
|
|
"is-ci": "1.2.1",
|
|
"is-installed-globally": "0.1.0",
|
|
"lazy-ass": "1.6.0",
|
|
"listr": "0.12.0",
|
|
"lodash": "4.17.11",
|
|
"log-symbols": "2.2.0",
|
|
"minimist": "1.2.0",
|
|
"moment": "2.24.0",
|
|
"ramda": "0.24.1",
|
|
"request": "2.88.0",
|
|
"request-progress": "0.4.0",
|
|
"supports-color": "5.5.0",
|
|
"tmp": "0.0.33",
|
|
"url": "0.11.0",
|
|
"yauzl": "2.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cypress/sinon-chai": "1.0.0",
|
|
"@types/blob-util": "1.3.3",
|
|
"@types/bluebird": "3.5.18",
|
|
"@types/chai": "4.0.8",
|
|
"@types/chai-jquery": "1.1.38",
|
|
"@types/jquery": "3.3.6",
|
|
"@types/lodash": "4.14.122",
|
|
"@types/minimatch": "3.0.3",
|
|
"@types/mocha": "2.2.44",
|
|
"@types/sinon": "7.0.0",
|
|
"@types/sinon-chai": "3.2.2",
|
|
"babel-cli": "6.26.0",
|
|
"babel-preset-es2015": "6.24.1",
|
|
"bin-up": "1.1.0",
|
|
"chai": "3.5.0",
|
|
"chai-string": "1.4.0",
|
|
"clear-module": "2.1.0",
|
|
"dependency-check": "2.10.1",
|
|
"dtslint": "0.5.5",
|
|
"execa-wrap": "1.4.0",
|
|
"mock-fs": "4.8.0",
|
|
"nock": "9.6.1",
|
|
"nyc": "13.3.0",
|
|
"proxyquire": "2.0.1",
|
|
"shelljs": "0.7.8",
|
|
"sinon": "7.2.2",
|
|
"snap-shot-it": "6.3.0"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"lib",
|
|
"index.js",
|
|
"types/**/*.d.ts"
|
|
]
|
|
}
|