2018-08-20 14:00:26 +02:00
|
|
|
{
|
|
|
|
"name": "@freesewing/plugin-scalebox",
|
2019-04-19 08:58:45 +02:00
|
|
|
"version": "0.32.0",
|
2018-08-20 14:00:26 +02:00
|
|
|
"description": "A freesewing plugin to add a scalebox to your pattern",
|
|
|
|
"author": "Joost De Cock <joost@decock.org> (https://github.com/joostdecock)",
|
|
|
|
"license": "MIT",
|
|
|
|
"homepage": "https://github.com/freesewing/plugin-scalebox#readme",
|
|
|
|
"repository": "github:freesewing/plugin-scalebox",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/freesewing/plugin-scalebox/issues"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"freesewing",
|
|
|
|
"plugin",
|
|
|
|
"sewing",
|
|
|
|
"patterns",
|
|
|
|
"scale"
|
|
|
|
],
|
|
|
|
"main": "dist/index.js",
|
|
|
|
"module": "dist/index.mjs",
|
|
|
|
"scripts": {
|
|
|
|
"patch": "npm version patch -m ':bookmark: v%s' && npm run build",
|
|
|
|
"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",
|
2018-12-08 15:09:34 +01:00
|
|
|
"test": "nyc mocha --require @babel/register tests/*.test.js",
|
|
|
|
"report": "nyc report --reporter=html mocha --require @babel/register tests/*.test.js",
|
|
|
|
"coverage": "nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov",
|
2018-08-20 14:00:26 +02:00
|
|
|
"clean": "rimraf dist",
|
|
|
|
"pretty": "npx prettier --write 'src/*.js'",
|
|
|
|
"lint": "eslint --fix 'src/*.js'",
|
2019-04-13 15:43:38 +02:00
|
|
|
"nodebuild": "rollup -c -o dist/index.js -f cjs",
|
|
|
|
"modulebuild": "rollup -c -o dist/index.mjs -f es",
|
|
|
|
"build": "npm run clean && npm run nodebuild && npm run modulebuild"
|
2018-08-20 14:00:26 +02:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,json}": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-12-08 15:09:34 +01:00
|
|
|
"@babel/core": "^7.1.0",
|
2019-04-13 15:43:38 +02:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "7.4.3",
|
2018-12-08 15:09:34 +01:00
|
|
|
"@babel/preset-env": "^7.1.0",
|
|
|
|
"@babel/register": "^7.0.0",
|
|
|
|
"chai": "^4.1.2",
|
|
|
|
"chai-string": "1.4.0",
|
|
|
|
"codecov": "^3.1.0",
|
2018-08-20 14:00:26 +02:00
|
|
|
"eslint": "^5.2.0",
|
|
|
|
"eslint-config-prettier": "^2.9.0",
|
|
|
|
"eslint-plugin-prettier": "^2.6.2",
|
2018-12-08 15:09:34 +01:00
|
|
|
"freesewing": "^0.18.3",
|
2018-08-20 14:00:26 +02:00
|
|
|
"husky": "^0.14.3",
|
|
|
|
"lint-staged": "^7.2.0",
|
2018-12-08 15:09:34 +01:00
|
|
|
"mocha": "^5.2.0",
|
|
|
|
"nyc": "12.0.2",
|
2018-08-20 14:00:26 +02:00
|
|
|
"prettier": "^1.13.7",
|
|
|
|
"rimraf": "^2.6.2",
|
2018-12-08 15:09:34 +01:00
|
|
|
"rollup": "^0.66.2",
|
|
|
|
"rollup-plugin-babel": "^4.0.3",
|
2019-04-13 15:43:38 +02:00
|
|
|
"rollup-plugin-babel-minify": "8.0.0",
|
2018-08-20 14:00:26 +02:00
|
|
|
"rollup-plugin-filesize": "^4.0.1",
|
|
|
|
"rollup-plugin-json": "^3.0.0",
|
2019-04-13 15:43:38 +02:00
|
|
|
"rollup-plugin-node-resolve": "^3.3.0"
|
2018-08-20 14:00:26 +02:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist/*",
|
|
|
|
"README.md",
|
|
|
|
"package-lock.json",
|
|
|
|
"package.json"
|
|
|
|
]
|
|
|
|
}
|