Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
Add npm dependencies and script for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
aiham committed Jan 27, 2017
1 parent a769c91 commit b6f0c7f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "React components for OpenTok.js",
"main": "dist/index.js",
"scripts": {
"test": "karma start",
"prepublish": "npm run build",
"build": "babel src --out-dir dist",
"example": "cd example && browserify -o bundle.js app.js && python -m SimpleHTTPServer"
Expand All @@ -28,12 +29,21 @@
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-preset-react": "^6.5.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-2": "^6.18.0",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"lodash": "^4.13.1"
"enzyme": "^2.6.0",
"jasmine-core": "^2.5.2",
"karma": "^1.3.0",
"karma-babel-preprocessor": "^6.0.1",
"karma-browserify": "^5.1.0",
"karma-chrome-launcher": "^2.0.0",
"karma-jasmine": "^1.1.0",
"lodash": "^4.13.1",
"react-addons-test-utils": "^15.4.1",
"watchify": "^3.8.0"
},
"browserify": {
"transform": [
Expand Down

0 comments on commit b6f0c7f

Please sign in to comment.