|
7 | 7 | "jsnext:main": "lib-esm/index.js", |
8 | 8 | "scripts": { |
9 | 9 | "test": "jest --watch", |
10 | | - "test:ci": "NODE_ENV=production jest", |
11 | 10 | "dev": "cross-env NODE_ENV=development webpack-dev-server --host 0.0.0.0 --port 8000 --config webpack.example.js --history-api-fallback --content-base example", |
| 11 | + "test:ci": "NODE_ENV=production jest --silent", |
12 | 12 | "build": "npm run clean && tsc && tsc -m es6 --outDir lib-esm && cross-env NODE_ENV=production webpack", |
13 | 13 | "clean": "shx rm -rf _bundles lib lib-esm build", |
14 | 14 | "docs": "./scripts/docs.js", |
|
41 | 41 | }, |
42 | 42 | "peerDependencies": { |
43 | 43 | "prop-types": "^15.5.8", |
44 | | - "react": "^15.0.0 || ^16.0.0-alpha" |
| 44 | + "react": "^15.0.0 || ^16.0.0-alpha || 16.0.0-rc.2" |
45 | 45 | }, |
46 | 46 | "devDependencies": { |
47 | 47 | "@types/classnames": "0.0.31", |
48 | 48 | "@types/lodash": "^4.14.64", |
49 | 49 | "@types/prop-types": "^15.5.1", |
50 | | - "@types/react": "^0.14.43", |
| 50 | + "@types/react": "^16.0.5", |
51 | 51 | "@types/react-dom": "^0.14.18", |
52 | | - "awesome-typescript-loader": "^3.1.3", |
| 52 | + "awesome-typescript-loader": "^3.2.3", |
53 | 53 | "babel-jest": "^15.0.0", |
54 | 54 | "babel-polyfill": "^6.13.0", |
55 | 55 | "babel-preset-es2015": "^6.14.0", |
|
62 | 62 | "jest": "^20.0.3", |
63 | 63 | "prettier": "^1.5.2", |
64 | 64 | "prop-types": "^15.5.10", |
65 | | - "react": "^15.0.2", |
66 | | - "react-addons-test-utils": "^15.3.1", |
67 | | - "react-dom": "^15.0.2", |
| 65 | + "react": "15.6.1", |
| 66 | + "react-dom": "15.6.1", |
68 | 67 | "react-test-renderer": "^15.3.1", |
69 | 68 | "readline-sync": "^1.4.7", |
70 | 69 | "replace-in-file": "^2.0.3", |
|
76 | 75 | "typedoc-plugin-external-module-name": "^1.0.8", |
77 | 76 | "typedoc-plugin-internal-external": "^1.0.8", |
78 | 77 | "typedoc-plugin-ui-router": "^1.0.6", |
79 | | - "typescript": "~2.4.1", |
| 78 | + "typescript": "2.4.2", |
80 | 79 | "ui-router-typedoc-themes": "^1.0.2", |
81 | 80 | "webpack": "^2.3.1", |
82 | 81 | "webpack-dev-server": "^2.4.2" |
|
86 | 85 | "transform": { |
87 | 86 | ".(ts|tsx)": "<rootDir>/../node_modules/ts-jest/preprocessor.js" |
88 | 87 | }, |
89 | | - "moduleFileExtensions": [ |
90 | | - "ts", |
91 | | - "tsx", |
92 | | - "js", |
93 | | - "json" |
94 | | - ], |
| 88 | + "moduleFileExtensions": ["ts", "tsx", "js", "json"], |
95 | 89 | "testURL": "http://localhost:4000", |
96 | 90 | "testRegex": "/__tests__/.*\\.(ts|tsx|js)$", |
97 | 91 | "globals": { |
98 | | - "__TS_CONFIG__": { |
99 | | - "jsx": "react", |
100 | | - "module": "commonjs", |
101 | | - "target": "es6" |
| 92 | + "ts-jest": { |
| 93 | + "tsConfigFile": "tsconfig.jest.json" |
102 | 94 | } |
103 | 95 | } |
104 | 96 | } |
|
0 commit comments