@betterthings/scissors
Version:
handy image cropper with focus point editor
101 lines (100 loc) • 2.34 kB
JSON
{
"name": "@betterthings/scissors",
"version": "0.0.7",
"description": "handy image cropper with focus point editor",
"main": "lib/index.js",
"scripts": {
"build": "npm run build:lib && npm run build:es && npm run build:umd",
"build:lib": "tsc --outDir lib --module commonjs -d",
"build:es": "tsc --outDir es --module es2015 -d",
"build:umd": "webpack --mode=production",
"build:demo": "webpack --config demo/webpack.config.js",
"prebuild": "npm run clean",
"clean": "rimraf lib es dist demo/dist",
"precommit": "lint-staged",
"prepush": "npm test",
"test": "jest",
"serve-demo": "serve -l 7009 demo"
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"git add"
]
},
"author": {
"name": "BTD - Better Things Digital GmbH",
"email": "hi@betterthings.digital",
"url": "https://betterthings.digital"
},
"contributors": [
{
"name": "Florian Hämmerle",
"email": "florian@betterthings.digital"
},
{
"name": "Patrick Schedler",
"email": "patrick@betterthings.digital"
}
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/betterthingsdigital/scissors.git"
},
"bugs": {
"url": "https://github.com/betterthingsdigital/scissors/issues"
},
"keywords": [
"image",
"cropper",
"cropping",
"focus",
"scissors",
"react-component",
"react"
],
"files": [
"lib",
"dist",
"es"
],
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"rootDir": "src",
"testRegex": "test.tsx?$"
},
"devDependencies": {
"@types/jest": ">=22",
"@types/react": ">=15",
"@types/react-dom": ">=15",
"@types/react-image-crop": ">=3",
"awesome-typescript-loader": "5.0.0",
"husky": "0.14.3",
"immutable": "3.8.2",
"jest": "23.1.0",
"lint-staged": "7.1.3",
"prettier": "1.13.4",
"react": "16.4.0",
"react-dom": "16.4.0",
"rimraf": "2.6.2",
"serve": "8.1.1",
"source-map-loader": "0.2.3",
"ts-jest": "22.4.6",
"typescript": "2.9.1",
"webpack": "4.12.0",
"webpack-cli": "3.0.3"
},
"dependencies": {
"react-image-crop": "4.0.1"
}
}