1
0
Fork 0

wrench: Config file tweaks

This commit is contained in:
Joost De Cock 2018-08-05 12:13:44 +02:00
parent 62b772e00a
commit 3b860f82e1
2 changed files with 3 additions and 4 deletions

View file

@ -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",

View file

@ -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)