
Also fix a few violations of the `export-with-import-assertions` rule, places where we import specific top-level keys from JSON files in violation of [the current spec](https://github.com/tc39/proposal-json-modules#why-dont-json-modules-support-named-exports).
17 lines
308 B
JavaScript
17 lines
308 B
JavaScript
import pkg from '../package.json' assert { type: 'json' }
|
|
|
|
export default {
|
|
name: '{{name}}',
|
|
version: pkg.version,
|
|
optionGroups: {
|
|
fit: ['size'],
|
|
},
|
|
measurements: [],
|
|
dependencies: {},
|
|
inject: {},
|
|
hide: [],
|
|
parts: ['box'],
|
|
options: {
|
|
size: { pct: 50, min: 10, max: 100 },
|
|
},
|
|
}
|