mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-05 05:59:49 -06:00
* wip: move lodash types to dev dependencies * move blob-util types * move types for minimatch * do not lint types from minimatch * move types sinon to dev dependencies * move sinon-chai types to dev dependencies * update tslint * move types bluebird to dev dependencies * move mocha types * move jquery types to dev dependencies * rename moment local wrapper * move chai and chai-jquery * refactor code for building CLI and dealing with folders * linting * include types subfolders * replace types with relative paths * transform sinon path to relative * linting * do not delete d.ts files * linting * chore: build npm package from this branch * add minimatch relative reference * work around minimatch * set sinon to be relative load * add readme to CLI * linting readme
20 lines
401 B
JavaScript
20 lines
401 B
JavaScript
/**
|
|
* Folder names in "node_modules/@types" that we should include
|
|
* when we bundle Cypress NPM package. These folder have ".d.ts"
|
|
* definition files that we will need to include with our NPM package.
|
|
*/
|
|
const includeTypes = [
|
|
'blob-util',
|
|
'bluebird',
|
|
'lodash',
|
|
'mocha',
|
|
'minimatch',
|
|
'sinon',
|
|
'sinon-chai',
|
|
'chai',
|
|
'chai-jquery',
|
|
'jquery',
|
|
]
|
|
|
|
module.exports = { includeTypes }
|