mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-13 11:44:55 +01:00
* Process and Lint CSS, Markdown and JSON files with Prettier * Run `yarn prettier` to re-format Markdown, CSS and JSON files
95 lines
3.6 KiB
JSON
95 lines
3.6 KiB
JSON
{
|
|
"private": true,
|
|
"name": "slate-packages",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"umd": "./examples/build.dev.js",
|
|
"umdMin": "./examples/build.prod.js",
|
|
"devDependencies": {
|
|
"babel-core": "^6.26.0",
|
|
"babel-eslint": "^8.2.1",
|
|
"babel-plugin-external-helpers": "^6.22.0",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-preset-env": "^1.6.1",
|
|
"babel-preset-react": "^6.24.1",
|
|
"babel-preset-stage-0": "^6.24.1",
|
|
"babel-runtime": "^6.26.0",
|
|
"chalk": "^1.1.3",
|
|
"cross-env": "^5.1.3",
|
|
"disc": "^1.3.2",
|
|
"eslint": "^4.16.0",
|
|
"eslint-config-prettier": "^2.9.0",
|
|
"eslint-plugin-import": "^2.8.0",
|
|
"eslint-plugin-prettier": "^2.5.0",
|
|
"eslint-plugin-react": "^7.6.0",
|
|
"faker": "^3.1.0",
|
|
"fbjs": "^0.8.3",
|
|
"fs-promise": "^1.0.0",
|
|
"gh-pages": "^0.11.0",
|
|
"http-server": "^0.9.0",
|
|
"image-extensions": "^1.1.0",
|
|
"immutable": "^3.8.1",
|
|
"is-hotkey": "^0.1.1",
|
|
"is-url": "^1.2.2",
|
|
"jsdom": "^11.5.1",
|
|
"lerna": "^2.7.1",
|
|
"lodash": "^4.17.4",
|
|
"matcha": "^0.7.0",
|
|
"mocha": "^2.5.3",
|
|
"npm-run-all": "^4.1.1",
|
|
"prettier": "^1.10.2",
|
|
"prismjs": "^1.5.1",
|
|
"react": "^16.0.0",
|
|
"react-dom": "^16.0.0",
|
|
"react-frame-aware-selection-plugin": "^1.0.0",
|
|
"react-frame-component": "^1.1.1",
|
|
"react-portal": "^3.1.0",
|
|
"react-router": "^2.5.1",
|
|
"react-router-dom": "^4.1.1",
|
|
"read-metadata": "^1.0.0",
|
|
"read-yaml-promise": "^1.0.2",
|
|
"rollup": "^0.55.1",
|
|
"rollup-plugin-alias": "^1.4.0",
|
|
"rollup-plugin-babel": "^3.0.3",
|
|
"rollup-plugin-commonjs": "^8.3.0",
|
|
"rollup-plugin-json": "^2.3.0",
|
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
"rollup-plugin-node-globals": "^1.1.0",
|
|
"rollup-plugin-node-resolve": "^3.0.2",
|
|
"rollup-plugin-replace": "^2.0.0",
|
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
"rollup-plugin-uglify": "^3.0.0",
|
|
"slate-collapse-on-escape": "^0.5.0",
|
|
"slate-soft-break": "^0.5.0",
|
|
"slate-sugar": "^0.6.1",
|
|
"source-map-support": "^0.4.0",
|
|
"to-camel-case": "^1.0.0",
|
|
"to-title-case": "^1.0.0",
|
|
"yaml-js": "^0.2.0"
|
|
},
|
|
"peerDependencies": {
|
|
"slate": "*",
|
|
"slate-html-serializer": "*",
|
|
"slate-plain-serializer": "*",
|
|
"slate-react": "*",
|
|
"slate-schema-violations": "*"
|
|
},
|
|
"scripts": {
|
|
"benchmark": "mkdir -p ./tmp && cross-env BABEL_ENV=test babel-node ./node_modules/.bin/_matcha --reporter ./support/benchmark/reporter ./packages/*/benchmark/index.js > ./tmp/benchmark-comparison.json && cross-env BABEL_ENV=test babel-node ./support/benchmark/compare",
|
|
"benchmark:save": "mkdir -p ./tmp && cross-env BABEL_ENV=test babel-node ./node_modules/.bin/_matcha --reporter ./support/benchmark/reporter ./packages/*/benchmark/index.js > ./tmp/benchmark-baseline.json",
|
|
"bootstrap": "lerna bootstrap && yarn build",
|
|
"build": "rollup --config",
|
|
"clean": "lerna run clean && rm -rf ./node_modules ./dist ./examples/build.*.js",
|
|
"gh-pages": "cross-env NODE_ENV=production yarn build && gh-pages --dist ./examples",
|
|
"lint": "eslint packages/*/src packages/*/test examples/*/*.js examples/dev/*/*.js && prettier --list-different '**/*.{js,jsx,md,json,css}'",
|
|
"open": "open http://localhost:8080/dev.html",
|
|
"prettier": "prettier --write '**/*.{js,jsx,md,json,css}'",
|
|
"release": "yarn test && yarn lint && lerna publish && yarn gh-pages",
|
|
"server": "http-server ./examples",
|
|
"start": "npm-run-all --parallel --print-label watch server",
|
|
"test": "cross-env BABEL_ENV=test mocha --require babel-core/register ./packages/*/test/index.js",
|
|
"watch": "rollup --config --watch"
|
|
}
|
|
}
|