chore: Reconfigure packages
This commit is contained in:
parent
0e443bfb1e
commit
f45b6665b1
164 changed files with 998 additions and 893 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@freesewing/plugin-sprinkle",
|
||||
"version": "2.7.2",
|
||||
"version": "2.8.0-beta.0",
|
||||
"description": "A FreeSewing plugin to bulk-add snippets to your pattern",
|
||||
"author": "Joost De Cock <joost@decock.org> (https://github.com/joostdecock)",
|
||||
"homepage": "https://freesewing.org/",
|
||||
|
@ -24,7 +24,7 @@
|
|||
"module": "dist/index.mjs",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist",
|
||||
"build": "npm run clean && rollup -c",
|
||||
"build": "rollup -c",
|
||||
"test": "echo \"plugin-sprinkle: No tests configured. Perhaps you'd like to do this?\" && exit 0",
|
||||
"pubtest": "npm publish --registry http://localhost:6662",
|
||||
"pubforce": "npm publish",
|
||||
|
@ -32,7 +32,7 @@
|
|||
"start": "rollup -c -w"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@freesewing/core": "^2.7.2"
|
||||
"@freesewing/core": "^2.8.0-beta.0"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {},
|
||||
|
@ -43,10 +43,13 @@
|
|||
],
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"tag": "latest"
|
||||
"tag": "next"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.0.0",
|
||||
"npm": ">=6"
|
||||
},
|
||||
"rollup": {
|
||||
"exports": "default"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
//import babel from "@rollup/plugin-babel";
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import json from '@rollup/plugin-json'
|
||||
import { terser } from 'rollup-plugin-terser'
|
||||
import peerDepsExternal from 'rollup-plugin-peer-deps-external'
|
||||
import { name, version, description, author, license, main, module } from './package.json'
|
||||
import { name, version, description, author, license, main, module, rollup } from './package.json'
|
||||
|
||||
const output = [
|
||||
{
|
||||
file: main,
|
||||
format: 'cjs',
|
||||
sourcemap: true,
|
||||
exports: 'default'
|
||||
exports: rollup.exports
|
||||
}
|
||||
]
|
||||
if (typeof module !== 'undefined')
|
||||
|
@ -29,7 +28,6 @@ export default {
|
|||
resolve({ modulesOnly: true }),
|
||||
commonjs(),
|
||||
json(),
|
||||
//babel({ exclude: "node_modules/**", }),
|
||||
terser({
|
||||
output: {
|
||||
preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue