wrench: Config file tweaks
This commit is contained in:
parent
62b772e00a
commit
3b860f82e1
2 changed files with 3 additions and 4 deletions
|
@ -24,10 +24,10 @@
|
|||
"minor": "npm version minor -m ':bookmark: v%s; && npm run build",
|
||||
"major": "npm version major -m ':bookmark: v%s; && npm run build",
|
||||
"precommit": "npm run pretty && lint-staged",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"test": "echo 'Error: no test specified' && exit 1",
|
||||
"clean": "rimraf dist",
|
||||
"pretty": "npx prettier --write \"src/*.js\"",
|
||||
"lint": "eslint --fix \"src/*.js\"",
|
||||
"pretty": "npx prettier --write 'src/*.js'",
|
||||
"lint": "eslint --fix 'src/*.js'",
|
||||
"browserbuild": "rollup -c rollup.js --file dist/browser.js --format iife --name freesewing.plugins.title",
|
||||
"nodebuild": "rollup -c rollup.js --file dist/index.js --format cjs",
|
||||
"modulebuild": "rollup -c rollup.js --file dist/index.mjs --format es",
|
||||
|
|
|
@ -11,7 +11,6 @@ export default {
|
|||
},
|
||||
macros: {
|
||||
title: function(next, so) {
|
||||
console.log("in plugin, so", so, this);
|
||||
so.at.attr("data-text", so.nr).attr("data-text-class", "title-nr note");
|
||||
this.points.titleName = so.at
|
||||
.shift(-90, 13)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue