const fs = require('fs')
const plock = require('../package-lock.json')
fs.writeFileSync(`${__dirname}/../node_modules/.gitignore`,
'## Automatically generated dev dependency ignores\n' +
'CODE_OF_CONDUCT.md\n' +
'CONTRIBUTING.md\n' +
Object.keys(plock.dependencies).filter(_ => plock.dependencies[_].dev).map(_ => `/${_}`).join('\n') + '\n')
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| changelog.js | File | 3 KB | 0644 |
|
| clean-old.sh | File | 4.17 KB | 0644 |
|
| dep-update | File | 294 B | 0644 |
|
| dev-dep-update | File | 292 B | 0644 |
|
| docs-build.js | File | 825 B | 0644 |
|
| gen-changelog | File | 420 B | 0644 |
|
| gen-dev-ignores.js | File | 350 B | 0644 |
|
| install.sh | File | 5.47 KB | 0644 |
|
| maketest | File | 1.8 KB | 0644 |
|
| pr | File | 3.96 KB | 0644 |
|
| publish-tag.js | File | 151 B | 0644 |
|
| release.sh | File | 889 B | 0644 |
|
| relocate.sh | File | 673 B | 0644 |
|
| update-authors.sh | File | 197 B | 0644 |
|
| update-dist-tags.js | File | 3.46 KB | 0644 |
|