|
4 | 4 | "description": "React component for syntax highlighting", |
5 | 5 | "main": "index.js", |
6 | 6 | "scripts": { |
7 | | - "prepublish": "babel ./src --out-dir ./lib --plugins=transform-class-properties,transform-react-jsx --presets=env", |
8 | | - "test": "karma start --single-run", |
9 | | - "dev-test": "karma start" |
| 7 | + "prepublish": |
| 8 | + "babel ./src --out-dir ./lib --plugins=transform-class-properties,transform-react-jsx --presets=env", |
| 9 | + "test": "jest" |
10 | 10 | }, |
11 | 11 | "repository": { |
12 | 12 | "type": "git", |
|
26 | 26 | }, |
27 | 27 | "homepage": "https://github.com/akiran/react-highlight", |
28 | 28 | "dependencies": { |
29 | | - "highlight.js": "^9.11.0" |
| 29 | + "highlight.js": "^9.11.0", |
| 30 | + "npm": "^5.7.1" |
30 | 31 | }, |
31 | 32 | "devDependencies": { |
32 | 33 | "autoprefixer": "^6.7.7", |
33 | 34 | "babel-cli": "^6.26.0", |
34 | 35 | "babel-core": "^6.26.0", |
35 | 36 | "babel-eslint": "^6.1.2", |
| 37 | + "babel-jest": "^22.4.1", |
36 | 38 | "babel-loader": "^7.1.2", |
37 | 39 | "babel-plugin-transform-class-properties": "^6.24.1", |
38 | 40 | "babel-plugin-transform-react-jsx": "^6.24.1", |
39 | | - "babel-preset-env": "^1.6.0", |
40 | | - "es5-shim": "^4.5.9", |
| 41 | + "babel-preset-env": "^1.6.1", |
| 42 | + "babel-preset-react": "^6.24.1", |
41 | 43 | "eslint": "^3.19.0", |
42 | 44 | "eslint-plugin-react": "^6.10.3", |
43 | 45 | "html-loader": "^0.4.5", |
44 | | - "jasmine-core": "^2.5.2", |
| 46 | + "jest": "^22.4.2", |
45 | 47 | "jsx-loader": "^0.13.2", |
46 | | - "karma": "^1.6.0", |
47 | | - "karma-jasmine": "^1.1.0", |
48 | | - "karma-phantomjs-launcher": "^1.0.4", |
49 | | - "karma-webpack": "^2.0.3", |
50 | 48 | "markdown-loader": "^2.0.0", |
51 | 49 | "multiline": "^1.0.2", |
52 | 50 | "node-libs-browser": "^2.0.0", |
53 | 51 | "phantomjs-prebuilt": "^2.1.14", |
54 | 52 | "raw-loader": "^0.5.1", |
55 | 53 | "react": "^15.5.4", |
56 | 54 | "react-dom": "^15.5.4", |
| 55 | + "react-test-renderer": "^16.2.0", |
57 | 56 | "webpack": "^3.6.0", |
58 | 57 | "webpack-dev-server": "^2.9.1" |
59 | 58 | }, |
|
0 commit comments