mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
7a2a41f208
This updates our `tsconfig.json` so it emits our JavaScript files as well as type checking them. We compile into `./lib` which we then ship in our npm package. The source code has moved from `./lib` into `./src`. Because the `src/` directory is exclusively JS files, this change is a no-op in terms of code functionality but is the first step towards being able to replace `src/X.js` with `src/X.ts` in a way that allows us to migrate incrementally. The `lib` directory is gitignored, and the `src` directory is npmignored. On `npm publish` we will now run `npm run tsc` in order to generate the outputted code.
18 lines
248 B
Plaintext
18 lines
248 B
Plaintext
/node_modules/
|
|
/test/output-chromium
|
|
/test/output-firefox
|
|
/test/test-user-data-dir*
|
|
/.local-chromium/
|
|
/.local-firefox/
|
|
/.dev_profile*
|
|
.DS_Store
|
|
*.swp
|
|
*.pyc
|
|
.vscode
|
|
package-lock.json
|
|
yarn.lock
|
|
/node6
|
|
/utils/browser/puppeteer-web.js
|
|
/index.d.ts
|
|
/lib
|