UNPKG

2.35 kBJSONView Raw
1{
2 "name": "react-sharedb",
3 "version": "9.0.0-alpha.31",
4 "description": "",
5 "main": "lib/index.js",
6 "scripts": {
7 "test": "echo '----- Test Hooks Syntax -----' && HOOKS=1 npm run _test && echo '----- Test Class Syntax -----' && npm run _test && echo '----- Test DEPRECATED Syntax -----' && DEPRECATED=1 npm run _test",
8 "_test": "PORT=3333 mocha ./test/**/*.mocha.js --bail --reporter spec --require babel-polyfill --compilers js:babel-register --require ./test/_client",
9 "format": "echo Run prettify twice && npm run -S _prettify && npm run -S _prettify",
10 "prepublish": "babel --optional runtime src --out-dir lib",
11 "postpublish": "rm -rf lib",
12 "//precommit": "lint-staged && npm test",
13 "_prettify": "prettier-standard '{src,test}/**/*.{js,jsx}'"
14 },
15 "lint-staged": {
16 "{src,test}/**/*.{js,jsx}": [
17 "prettier-standard",
18 "prettier-standard",
19 "git add"
20 ]
21 },
22 "author": "",
23 "license": "MIT",
24 "dependencies": {
25 "@nx-js/observer-util": "^4.1.3",
26 "@react-sharedb/model": "^2.0.0-alpha.0",
27 "hoist-non-react-statics": "^1.2.0",
28 "lodash": "4.x",
29 "rich-text": "^4.0.0",
30 "sharedb": "^1.0.0-beta.22",
31 "racer": "^0.9.3"
32 },
33 "devDependencies": {
34 "@oskarer/enzyme-wait": "^1.3.0",
35 "babel-cli": "^6.26.0",
36 "babel-core": "^6.26.0",
37 "babel-plugin-add-module-exports": "^0.1.2",
38 "babel-plugin-transform-decorators-legacy": "^1.3.4",
39 "babel-plugin-transform-runtime": "^6.3.13",
40 "babel-polyfill": "^6.26.0",
41 "babel-preset-es2015": "^6.24.1",
42 "babel-preset-react": "^6.24.1",
43 "babel-preset-stage-0": "^6.24.1",
44 "babel-register": "^6.26.0",
45 "babel-runtime": "^6.26.0",
46 "bluebird": "^3.5.1",
47 "chai": "^4.1.2",
48 "enzyme": "^3.9.0",
49 "enzyme-adapter-react-16": "^1.13.0",
50 "express": "^4.16.2",
51 "husky": "^0.14.3",
52 "js-yaml": "^3.10.0",
53 "jsdom": "^11.3.0",
54 "lint-staged": "^4.3.0",
55 "mocha": "^3.5.3",
56 "prettier-standard": "^7.0.3",
57 "racer-highway": "^8.1.0",
58 "racer-rpc": "dmapper/racer-rpc#v0.1.2",
59 "raf": "^3.4.1",
60 "react": "^16.9.0",
61 "react-dom": "^16.9.0",
62 "react-test-renderer": "^16.9.0",
63 "sharedb-mongo": "^1.0.0-beta.8",
64 "standard": "^10.0.3",
65 "wait-for-expect": "^0.6.2",
66 "ws": "^3.1.0"
67 },
68 "peerDependencies": {
69 "react": "*"
70 }
71}