1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-01 05:16:10 +01:00

ocd package.json

This commit is contained in:
Ian Storm Taylor 2016-07-21 12:51:34 -07:00
parent 33b1b1379b
commit a3b1dac63f

View File

@ -5,23 +5,6 @@
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "./dist/index.js",
"scripts": {
"clean": "rm -rf ./dist ./node_modules",
"disc": "npm run disc:build && npm run disc:open",
"disc:build": "npm run dist && mkdir -p ./tmp && browserify ./dist/index.js --full-paths --outfile ./tmp/build.js",
"disc:open": "discify ./tmp/build.js --open",
"dist": "npm run dist:npm && npm run dist:bundle",
"dist:bundle": "browserify ./dist/index.js --standalone Slate --outfile ./dist/slate.js",
"dist:npm": "babel --out-dir ./dist ./lib",
"dist:watch": "babel --watch --out-dir ./dist ./lib",
"examples": "browserify --debug --transform babelify ./examples/index.js --outfile ./examples/build.js",
"examples:watch": "watchify --debug --transform babelify ./examples/index.js --outfile ./examples/build.js",
"gh-pages": "gh-pages --dist ./examples",
"lint": "eslint --ignore-pattern 'build.js' '{examples,lib}/**/*.js'",
"prepublish": "make dist",
"start": "http-server ./examples",
"test": "mocha --compilers js:babel-core/register --require source-map-support/register --reporter spec ./test/server.js"
},
"dependencies": {
"cheerio": "^0.20.0",
"detect-browser": "^1.3.3",
@ -71,6 +54,23 @@
"to-title-case": "^1.0.0",
"watchify": "^3.7.0"
},
"scripts": {
"clean": "rm -rf ./dist ./node_modules",
"disc": "npm run dist && npm run disc:build && npm run disc:open",
"disc:build": "mkdir -p ./tmp && browserify ./dist/index.js --full-paths --outfile ./tmp/build.js",
"disc:open": "discify ./tmp/build.js --open",
"dist": "npm run dist:npm && npm run dist:bundle",
"dist:bundle": "browserify ./dist/index.js --standalone Slate --outfile ./dist/slate.js",
"dist:npm": "babel --out-dir ./dist ./lib",
"dist:watch": "babel --watch --out-dir ./dist ./lib",
"examples": "browserify --debug --transform babelify ./examples/index.js --outfile ./examples/build.js",
"examples:watch": "watchify --debug --transform babelify ./examples/index.js --outfile ./examples/build.js",
"gh-pages": "gh-pages --dist ./examples",
"lint": "eslint --ignore-pattern 'build.js' '{examples,lib}/**/*.js'",
"prepublish": "make dist",
"start": "http-server ./examples",
"test": "mocha --compilers js:babel-core/register --require source-map-support/register --reporter spec ./test/server.js"
},
"keywords": [
"canvas",
"contenteditable",