mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-24 07:59:03 -06:00
* define types for plugin events * add plugins file TS test * fix plugins return type * add void returns where allowed * config can be partial * add async test * cannot return unknown keys in config * add more tests * add Task types and tests * fix style issues * update task type with compromise, remove redundant tests * fix type * bump kitchensink dep * add typescript reference and jsdoc to plugins scaffold file * update scaffold snapshot * add more tests for before:browser:launch * fix return type Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com> Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
{
|
|
"name": "@packages/example",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"postinstall": "echo '@packages/example needs: npm run build'",
|
|
"check-deps": "node ../../scripts/check-deps.js --verbose",
|
|
"check-deps-pre": "npm run check-deps -- --prescript",
|
|
"clean-deps": "rm -rf node_modules",
|
|
"pretest": "npm run check-deps-pre",
|
|
"test": "cross-env NODE_ENV=test mocha",
|
|
"test-e2e": "cypress run",
|
|
"prebuild": "npm run check-deps-pre",
|
|
"build": "node ./bin/build.js && gulp build",
|
|
"build-prod": "npm run build",
|
|
"predeploy": "npm run build",
|
|
"deploy": "gulp deploy"
|
|
},
|
|
"files": [
|
|
"cypress",
|
|
"lib"
|
|
],
|
|
"dependencies": {
|
|
"bluebird": "3.5.3",
|
|
"glob": "7.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"bin-up": "1.2.2",
|
|
"chai": "3.5.0",
|
|
"cross-env": "6.0.3",
|
|
"cypress-example-kitchensink": "1.9.1",
|
|
"gulp": "4.0.2",
|
|
"gulp-clean": "0.4.0",
|
|
"gulp-gh-pages": "0.6.0-6",
|
|
"gulp-rev-all": "2.0.2",
|
|
"mocha": "2.5.3",
|
|
"shelljs": "0.8.3"
|
|
}
|
|
}
|