mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-21 14:41:23 +02:00
ocd package.json
This commit is contained in:
34
package.json
34
package.json
@@ -5,23 +5,6 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "git://github.com/ianstormtaylor/slate.git",
|
"repository": "git://github.com/ianstormtaylor/slate.git",
|
||||||
"main": "./dist/index.js",
|
"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": {
|
"dependencies": {
|
||||||
"cheerio": "^0.20.0",
|
"cheerio": "^0.20.0",
|
||||||
"detect-browser": "^1.3.3",
|
"detect-browser": "^1.3.3",
|
||||||
@@ -71,6 +54,23 @@
|
|||||||
"to-title-case": "^1.0.0",
|
"to-title-case": "^1.0.0",
|
||||||
"watchify": "^3.7.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": [
|
"keywords": [
|
||||||
"canvas",
|
"canvas",
|
||||||
"contenteditable",
|
"contenteditable",
|
||||||
|
Reference in New Issue
Block a user