upgrade standard + lint
This commit is contained in:
parent
53b4846709
commit
95b0ce0cee
4118
package-lock.json
generated
4118
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -65,7 +65,7 @@
|
|||||||
"@types/node": "^18.15.0",
|
"@types/node": "^18.15.0",
|
||||||
"@types/ws": "^8.5.10",
|
"@types/ws": "^8.5.10",
|
||||||
"rollup": "^3.19.1",
|
"rollup": "^3.19.1",
|
||||||
"standard": "^12.0.1",
|
"standard": "^17.1.2",
|
||||||
"typescript": "^4.9.5",
|
"typescript": "^4.9.5",
|
||||||
"yjs": "^13.5.0"
|
"yjs": "^13.5.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
export default [{
|
export default [{
|
||||||
input: ['./src/server.js', './src/utils.js', './src/callback.js'],
|
input: ['./src/server.js', './src/utils.js', './src/callback.js'],
|
||||||
external: id => /^(lib0|yjs|y-protocols|ws|lodash\.debounce|http)/.test(id),
|
external: id => /^(lib0|yjs|y-protocols|ws|lodash\.debounce|http)/.test(id),
|
||||||
output: [{
|
output: [{
|
||||||
dir: 'dist',
|
dir: 'dist',
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
entryFileNames: '[name].cjs',
|
entryFileNames: '[name].cjs',
|
||||||
chunkFileNames: '[name]-[hash].cjs'
|
chunkFileNames: '[name]-[hash].cjs'
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user