|
7 | 7 | "type": "git", |
8 | 8 | "url": "https://github.com/streamich/libreact.git" |
9 | 9 | }, |
| 10 | + "files": ["lib/"], |
10 | 11 | "scripts": { |
11 | | - "start": "npm run test:story", |
12 | | - "build": "npm run clean && gulp --gulpfile build/gulpfile.js build", |
13 | | - "clean": "rimraf lib modules && npm run test:story:clean && npm run docs:clean", |
14 | | - "test": "npm run test:server && npm run test:client", |
| 12 | + "start": "yarn test:story", |
| 13 | + "clean": "rimraf lib modules && yarn test:story:clean && yarn docs:clean", |
| 14 | + "build": "tsc", |
| 15 | + "test": "yarn test:server && yarn test:client", |
15 | 16 | "test:server": "mocha -r ts-node/register src/**/*.test-server.ts*", |
16 | 17 | "test:client": "jest", |
17 | 18 | "test:client:coverage": "jest --coverage", |
18 | 19 | "test:watch": "jest --watch", |
19 | 20 | "test:story:clean": "rimraf storybook-static", |
20 | | - "test:story": "npm run storybook", |
| 21 | + "test:story": "yarn storybook", |
21 | 22 | "test:story:build": "build-storybook", |
22 | 23 | "docs:clean": "rimraf dist_docs docs/_book", |
23 | | - "docs:serve": "npm run docs:clean && gitbook install ./docs && gitbook serve ./docs", |
24 | | - "docs:build": "npm run docs:clean && gitbook install ./docs && gitbook build ./docs", |
25 | | - "docs:publish": "npm run test:story:build && npm run docs:build && ./build/publish-docs.sh", |
| 24 | + "docs:serve": "yarn docs:clean && gitbook install ./docs && gitbook serve ./docs", |
| 25 | + "docs:build": "yarn docs:clean && gitbook install ./docs && gitbook build ./docs", |
| 26 | + "docs:publish": "yarn test:story:build && yarn docs:build && ./build/publish-docs.sh", |
26 | 27 | "storybook": "start-storybook -p 6007", |
27 | 28 | "semantic-release": "semantic-release" |
28 | 29 | }, |
|
47 | 48 | "@types/chai": "4.1.1", |
48 | 49 | "@types/jest": "22.0.1", |
49 | 50 | "@types/node": "9.3.0", |
50 | | - "@types/react": "^16.3.17", |
51 | | - "@types/react-dom": "16.0.3", |
| 51 | + "@types/react": "^16.4.14", |
| 52 | + "@types/react-dom": "^16.0.8", |
52 | 53 | "chai": "4.1.2", |
53 | 54 | "enzyme": "^3.3.0", |
54 | 55 | "enzyme-adapter-react-16": "^1.1.1", |
55 | 56 | "enzyme-to-json": "^3.3.4", |
56 | | - "gulp": "3.9.1", |
57 | | - "gulp-typescript": "3", |
58 | 57 | "jest": "^23.6.0", |
59 | 58 | "jest-environment-jsdom": "^23.4.0", |
60 | 59 | "jest-environment-jsdom-global": "^1.1.0", |
|
64 | 63 | "react-test-renderer": "16.2.0", |
65 | 64 | "rimraf": "2.6.2", |
66 | 65 | "to-string-loader": "1.1.5", |
67 | | - "ts-jest": "22.0.1", |
68 | | - "ts-loader": "3.2.0", |
69 | | - "ts-node": "4.1.0", |
70 | | - "typescript": "2.6.2", |
| 66 | + "ts-jest": "^23.10.3", |
| 67 | + "ts-loader": "^5.2.1", |
| 68 | + "ts-node": "^7.0.1", |
| 69 | + "typescript": "^3.1.1", |
71 | 70 | "webpack": "3.10.0", |
72 | 71 | "semantic-release": "^15.5.0", |
73 | 72 | "@semantic-release/changelog": "^2.0.2", |
|
0 commit comments