2016-06-15 12:07:12 -07:00
|
|
|
{
|
2017-09-11 18:11:45 -07:00
|
|
|
"private": true,
|
|
|
|
"name": "slate-packages",
|
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
2016-06-15 12:07:12 -07:00
|
|
|
"devDependencies": {
|
2018-02-21 20:44:13 -05:00
|
|
|
"babel-cli": "^6.26.0",
|
2018-01-26 13:55:29 -05:00
|
|
|
"babel-core": "^6.26.0",
|
|
|
|
"babel-eslint": "^8.2.1",
|
2018-02-21 20:19:56 -05:00
|
|
|
"babel-loader": "^7.1.2",
|
2018-02-02 18:46:36 -05:00
|
|
|
"babel-plugin-external-helpers": "^6.22.0",
|
2018-08-06 13:31:42 -04:00
|
|
|
"babel-plugin-istanbul": "^4.1.6",
|
|
|
|
"babel-plugin-module-resolver": "^3.1.1",
|
2018-01-26 13:55:29 -05:00
|
|
|
"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",
|
2018-08-06 13:31:42 -04:00
|
|
|
"blanket": "^1.2.3",
|
2017-03-21 17:38:39 -07:00
|
|
|
"chalk": "^1.1.3",
|
2018-08-06 13:31:42 -04:00
|
|
|
"codecov": "^3.0.4",
|
2018-07-19 16:01:55 -04:00
|
|
|
"commander": "^2.15.1",
|
2018-02-21 20:19:56 -05:00
|
|
|
"copy-webpack-plugin": "^4.4.1",
|
2018-02-02 17:20:06 -08:00
|
|
|
"cross-env": "^5.1.3",
|
2018-02-21 20:19:56 -05:00
|
|
|
"css-loader": "^0.28.9",
|
2018-07-27 12:40:04 -07:00
|
|
|
"emojis": "^1.0.10",
|
2018-07-01 15:13:29 -06:00
|
|
|
"emotion": "^9.2.4",
|
2018-06-21 22:27:10 -04:00
|
|
|
"eslint": "^4.19.1",
|
2018-02-06 23:12:00 +00:00
|
|
|
"eslint-config-prettier": "^2.9.0",
|
2018-01-26 13:55:29 -05:00
|
|
|
"eslint-plugin-import": "^2.8.0",
|
2018-02-06 23:12:00 +00:00
|
|
|
"eslint-plugin-prettier": "^2.5.0",
|
2018-01-26 13:55:29 -05:00
|
|
|
"eslint-plugin-react": "^7.6.0",
|
2018-02-21 20:19:56 -05:00
|
|
|
"extract-text-webpack-plugin": "^3.0.2",
|
2016-11-03 10:39:38 +01:00
|
|
|
"faker": "^3.1.0",
|
2018-07-19 16:01:55 -04:00
|
|
|
"figures": "^2.0.0",
|
2016-12-06 15:21:08 -08:00
|
|
|
"fs-promise": "^1.0.0",
|
2016-07-15 09:40:50 -07:00
|
|
|
"gh-pages": "^0.11.0",
|
2018-02-21 20:19:56 -05:00
|
|
|
"html-webpack-plugin": "^2.30.1",
|
|
|
|
"html-webpack-template": "^6.1.0",
|
2018-02-02 18:46:36 -05:00
|
|
|
"image-extensions": "^1.1.0",
|
2017-09-11 18:11:45 -07:00
|
|
|
"immutable": "^3.8.1",
|
2017-10-17 18:18:27 -07:00
|
|
|
"is-hotkey": "^0.1.1",
|
2016-07-18 13:06:10 -07:00
|
|
|
"is-url": "^1.2.2",
|
2018-01-04 15:20:02 -08:00
|
|
|
"jsdom": "^11.5.1",
|
2018-01-25 16:14:55 -05:00
|
|
|
"lerna": "^2.7.1",
|
2018-02-02 18:46:36 -05:00
|
|
|
"lodash": "^4.17.4",
|
2017-03-21 17:38:39 -07:00
|
|
|
"matcha": "^0.7.0",
|
2018-08-16 17:59:29 -04:00
|
|
|
"memoize-one": "^4.0.0",
|
2016-06-15 12:07:12 -07:00
|
|
|
"mocha": "^2.5.3",
|
2018-08-06 13:31:42 -04:00
|
|
|
"mocha-lcov-reporter": "^1.3.0",
|
2018-02-21 20:19:56 -05:00
|
|
|
"npm-run-all": "^4.1.2",
|
2018-08-06 13:31:42 -04:00
|
|
|
"nyc": "^12.0.2",
|
2018-02-06 23:12:00 +00:00
|
|
|
"prettier": "^1.10.2",
|
2016-07-06 14:05:35 -07:00
|
|
|
"prismjs": "^1.5.1",
|
2018-07-01 15:13:29 -06:00
|
|
|
"react": "^16.4.1",
|
|
|
|
"react-dom": "^16.4.1",
|
|
|
|
"react-emotion": "^9.2.4",
|
2018-02-21 20:19:56 -05:00
|
|
|
"react-hot-loader": "^3.1.3",
|
2018-07-01 15:13:29 -06:00
|
|
|
"react-portal": "^4.1.5",
|
|
|
|
"react-router-dom": "^4.3.1",
|
2018-08-09 20:30:23 -07:00
|
|
|
"react-values": "^0.3.0",
|
2016-06-22 18:42:49 -07:00
|
|
|
"read-metadata": "^1.0.0",
|
2018-02-02 18:46:36 -05:00
|
|
|
"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",
|
2018-02-06 19:41:03 -08:00
|
|
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
|
|
"rollup-plugin-node-globals": "^1.1.0",
|
2018-02-02 18:46:36 -05:00
|
|
|
"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",
|
2018-02-21 22:35:27 -05:00
|
|
|
"source-map-loader": "^0.2.3",
|
2016-06-23 11:32:24 -07:00
|
|
|
"source-map-support": "^0.4.0",
|
2018-02-21 20:19:56 -05:00
|
|
|
"style-loader": "^0.20.2",
|
2016-06-22 18:42:49 -07:00
|
|
|
"to-camel-case": "^1.0.0",
|
2018-07-27 12:40:04 -07:00
|
|
|
"to-snake-case": "^1.0.0",
|
2018-02-21 18:35:27 -08:00
|
|
|
"uglifyjs-webpack-plugin": "^1.1.8",
|
2018-02-21 20:19:56 -05:00
|
|
|
"webpack": "^3.11.0",
|
2018-04-27 22:27:25 +02:00
|
|
|
"webpack-dev-server": "^2.11.1"
|
2016-07-06 17:22:45 -07:00
|
|
|
},
|
2017-09-11 18:11:45 -07:00
|
|
|
"peerDependencies": {
|
|
|
|
"slate": "*",
|
2018-10-10 10:10:27 -07:00
|
|
|
"slate-dev-benchmark": "*",
|
|
|
|
"slate-dev-test-utils": "*",
|
2017-09-11 18:11:45 -07:00
|
|
|
"slate-html-serializer": "*",
|
|
|
|
"slate-plain-serializer": "*",
|
2018-08-22 18:22:40 -07:00
|
|
|
"slate-react": "*"
|
2017-09-11 18:11:45 -07:00
|
|
|
},
|
2016-07-21 12:51:34 -07:00
|
|
|
"scripts": {
|
2018-07-19 16:01:55 -04:00
|
|
|
"benchmark": "cross-env COMPARE=compare node --expose-gc ./tmp/benchmark/index.js",
|
|
|
|
"benchmark:save": " yarn benchmark:prepare && node --expose-gc ./tmp/benchmark/index.js",
|
|
|
|
"benchmark:prepare": "mkdir -p ./tmp && cross-env BABEL_ENV=benchmark babel benchmark --out-dir tmp/benchmark/",
|
|
|
|
"bootstrap": "lerna bootstrap && yarn build",
|
2018-02-21 17:48:08 -08:00
|
|
|
"build": "rollup --config ./support/rollup/config.js",
|
2018-06-10 16:48:45 -07:00
|
|
|
"build:production": "cross-env NODE_ENV=production rollup --config ./support/rollup/config.js && cross-env NODE_ENV=production webpack --config support/webpack/config.js",
|
2018-02-21 18:03:17 -08:00
|
|
|
"clean": "lerna run clean && rm -rf ./node_modules ./dist ./build",
|
2018-06-10 16:48:45 -07:00
|
|
|
"gh-pages": "gh-pages --dist ./build",
|
2018-08-06 13:13:40 -07:00
|
|
|
"lint": "yarn lint:eslint && yarn lint:prettier",
|
2018-08-06 13:31:42 -04:00
|
|
|
"lint:eslint": "eslint benchmark packages/*/src packages/*/test examples/*/*.js examples/dev/*/*.js",
|
|
|
|
"lint:prettier": "prettier --list-different '**/*.{md,json,css}'",
|
2018-02-21 20:19:56 -05:00
|
|
|
"open": "open http://localhost:8080",
|
2018-02-07 15:58:41 +00:00
|
|
|
"prettier": "prettier --write '**/*.{js,jsx,md,json,css}'",
|
2018-06-10 16:48:45 -07:00
|
|
|
"release": "yarn build:production && yarn test && yarn lint && lerna publish && yarn gh-pages",
|
2018-02-21 17:48:08 -08:00
|
|
|
"server": "webpack-dev-server --config ./support/webpack/config.js",
|
2018-02-03 20:02:46 -05:00
|
|
|
"start": "npm-run-all --parallel --print-label watch server",
|
2018-08-21 15:52:44 -07:00
|
|
|
"test": "cross-env BABEL_ENV=test FORBID_WARNINGS=true mocha --require babel-core/register ./packages/*/test/index.js",
|
2018-08-06 13:31:42 -04:00
|
|
|
"test:coverage": "cross-env NODE_ENV=test nyc yarn test",
|
2018-02-21 17:48:08 -08:00
|
|
|
"watch": "rollup --config ./support/rollup/config.js --watch"
|
2017-09-11 18:11:45 -07:00
|
|
|
}
|
2016-06-15 12:07:12 -07:00
|
|
|
}
|