1 | {
|
2 | "name": "@pusher/chatkit",
|
3 | "description": "Pusher Chatkit client library for browsers and react native",
|
4 | "main": "dist/web/chatkit.js",
|
5 | "version": "0.7.0",
|
6 | "author": "Pusher",
|
7 | "license": "MIT",
|
8 | "homepage": "https://github.com/pusher/chatkit-client-js",
|
9 | "bugs": {
|
10 | "url": "https://github.com/pusher/chatkit-client-js/issues"
|
11 | },
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "git+https://github.com/pusher/chatkit-client-js.git"
|
15 | },
|
16 | "dependencies": {
|
17 | "pusher-platform": "^0.15.0",
|
18 | "ramda": "^0.25.0"
|
19 | },
|
20 | "devDependencies": {
|
21 | "babel-cli": "^6.26.0",
|
22 | "babel-core": "^6.26.0",
|
23 | "babel-eslint": "^7.0.0",
|
24 | "babel-plugin-external-helpers": "^6.22.0",
|
25 | "babel-plugin-transform-class-properties": "^6.24.1",
|
26 | "babel-plugin-transform-object-rest-spread": "^6.26.0",
|
27 | "babel-preset-env": "^1.6.1",
|
28 | "babelify": "^8.0.0",
|
29 | "browserify": "^15.2.0",
|
30 | "faucet": "^0.0.1",
|
31 | "pusher-chatkit-server": "^0.9.1",
|
32 | "rollup": "^0.55.3",
|
33 | "rollup-plugin-alias": "^1.4.0",
|
34 | "rollup-plugin-babel": "^3.0.3",
|
35 | "rollup-plugin-commonjs": "^8.3.0",
|
36 | "rollup-plugin-node-resolve": "^3.0.2",
|
37 | "rollup-plugin-uglify": "^3.0.0",
|
38 | "snazzy": "^7.0.0",
|
39 | "standard": "^10.0.3",
|
40 | "tape": "^4.8.0",
|
41 | "tape-run": "^3.0.2"
|
42 | },
|
43 | "scripts": {
|
44 | "lint": "standard --parser babel-eslint --verbose | snazzy",
|
45 | "build": "yarn build:web && yarn build:react-native",
|
46 | "build:web": "rollup -c rollup/web.js",
|
47 | "build:react-native": "rollup -c rollup/react-native.js",
|
48 | "test": "yarn test:raw | faucet",
|
49 | "test:raw": "browserify tests/main.js -t [ babelify --presets env --plugins transform-object-rest-spread ] | tape-run",
|
50 | "lint:build": "clear && yarn lint && clear && yarn build",
|
51 | "lint:build:test": "yarn lint:build && clear && yarn test",
|
52 | "lint:build:test:raw": "yarn lint:build && clear && yarn test:raw",
|
53 | "test-context": "f () { sed -i \"s/\\.\\/config\\/[a-z]\\+/\\.\\/config\\/$1/g\" tests/main.js; }; f"
|
54 | },
|
55 | "standard": {
|
56 | "ignore": "example"
|
57 | }
|
58 | }
|