core-graphics
Version:
A core library for creating shape-based graphic editors
80 lines (79 loc) • 2.35 kB
JSON
{
"name": "core-graphics",
"version": "6.8.0",
"description": "A core library for creating shape-based graphic editors",
"main": "lib/index.js",
"scripts": {
"clean": "rm -rf lib/* es6/*",
"prebuild": "npm run clean",
"build": "tsc && babel es6/ src/ -d lib && cp src/styles.css lib/styles.css",
"build:watch": "babel es6/ src/ -w -d lib",
"prebuild:sourcemaps": "npm run clean",
"build:sourcemaps": "npm run tsc && babel --source-maps inline es6/ src/ -d lib",
"dev": "npm run test:watch & npm run build:watch",
"prepublish": "npm run build && npm run lint",
"test": "tap --node-arg=--require --node-arg='babel-polyfill' 'lib/**/*.spec.js'",
"tsc": "tsc",
"tsc:watch": "tsc -w",
"precoverage": "npm run build:sourcemaps",
"coverage": "tap --cov --node-arg=--require --node-arg='babel-polyfill' 'lib/**/*.spec.js'",
"test:watch": "nodemon --watch lib -q -x \"npm run test\"",
"lint": "tslint -c tslint.json -e 'node_modules/**' -e 'typings/**' '**/*.ts*' && echo \"+\" ",
"lint:watch": "nodemon --ext \"tsx\" --watch src -q -x \"npm run lint\""
},
"author": "Naissur <vlad.aituganov@gmail.com>",
"license": "ISC",
"engines": {
"node": ">= 4.0.0"
},
"dependencies": {
"clone": "1.0.2",
"icepick": "1.2.0",
"js-base64": "2.1.9",
"matrix-utilities": "^1.2.4",
"mousetrap": "1.6.0",
"object.pick": "1.1.2",
"raf": "3.2.0",
"shallowequal": "0.2.2",
"xtend": "4.0.1"
},
"peerDependencies": {
"react": "^0.14.0",
"react-dom": "^0.14.0"
},
"devDependencies": {
"assert": "1.3.0",
"babel-polyfill": "6.3.14",
"babel-cli": "6.4.0",
"babel-eslint": "6.0.4",
"babel-plugin-react": "1.0.0",
"babel-preset-es2015": "6.3.13",
"babel-preset-react": "6.5.0",
"babel-preset-stage-0": "6.3.13",
"babel-register": "6.3.13",
"eslint": "2.9.0",
"eslint-plugin-babel": "3.2.0",
"faucet": "0.0.1",
"jsverify": "0.7.1",
"nodemon": "^1.9.1",
"react": "^0.14.0",
"react-addons-perf": "15.0.2",
"react-dom": "^0.14.0",
"tap": "6.3.0",
"tslint": "^3.8.1",
"typings": "^0.8.1"
},
"keywords": [
"graphics",
"core",
"graphical",
"drawing",
"shapes",
"structure"
],
"nyc": {
"exclude": [
"**/*.spec.js"
]
}
}