|
8 | 8 | "private": false, |
9 | 9 | "scripts": { |
10 | 10 | "dev": "shadow-cljs watch dev", |
11 | | - "build": "rm -rf dist && shadow-cljs release npm", |
12 | | - "build:dev": "rm -rf dist && shadow-cljs compile npm", |
13 | | - "test:js": "yarn build && jest js/tests", |
14 | | - "test:js:dev": "yarn build:dev && jest js/tests", |
| 11 | + "build": "rm -rf dist && shadow-cljs release npm && yarn bundle-ts", |
| 12 | + "build:dev": "rm -rf dist && shadow-cljs compile npm && yarn bundle-ts", |
| 13 | + "test:js": "yarn build && jest js/tests && yarn tsd", |
| 14 | + "test:js:dev": "yarn build:dev && jest js/tests && yarn tsd", |
15 | 15 | "test:cljs": "shadow-cljs compile test && node out/node-tests.js", |
16 | 16 | "test:cljs:watch": "shadow-cljs watch test-autorun", |
17 | 17 | "test": "yarn test:cljs && yarn test:js", |
|
20 | 20 | "semantic-release": "semantic-release", |
21 | 21 | "_postinstall": "husky install", |
22 | 22 | "prepublish": "pinst --disable", |
23 | | - "postpublish": "pinst --enable" |
| 23 | + "postpublish": "pinst --enable", |
| 24 | + "bundle-ts": "./bundle-ts.sh" |
24 | 25 | }, |
25 | 26 | "config": { |
26 | 27 | "commitizen": { |
|
32 | 33 | }, |
33 | 34 | "devDependencies": { |
34 | 35 | "@babel/cli": "7.11.6", |
35 | | - "@babel/core": "7.11.6", |
36 | 36 | "@babel/plugin-transform-modules-commonjs": "7.12.1", |
37 | 37 | "@babel/plugin-transform-react-jsx": "7.10.4", |
38 | 38 | "@commitlint/cli": "^11.0.0", |
|
43 | 43 | "@semantic-release/github": "7.1.1", |
44 | 44 | "@semantic-release/npm": "7.0.6", |
45 | 45 | "@semantic-release/release-notes-generator": "9.0.1", |
| 46 | + "@types/react": "^16.9.56", |
46 | 47 | "babel-runtime": "6.26.0", |
47 | 48 | "commitizen": "^4.2.2", |
48 | 49 | "create-react-class": "15.6.3", |
|
57 | 58 | "react": "16.14.0", |
58 | 59 | "react-component-benchmark": "0.0.4", |
59 | 60 | "react-dom": "16.14.0", |
| 61 | + "react-test-renderer": "^16.14.0", |
60 | 62 | "semantic-release": "17.2.2", |
61 | 63 | "semantic-release-cli": "5.4.0", |
62 | | - "shadow-cljs": "2.11.4" |
| 64 | + "shadow-cljs": "2.11.4", |
| 65 | + "ts-jest": "^26.4.4", |
| 66 | + "tsd": "^0.13.1", |
| 67 | + "typescript": "^4.0.5" |
63 | 68 | }, |
| 69 | + "types": "./dist/types", |
64 | 70 | "keywords": [ |
65 | 71 | "react", |
66 | 72 | "relational", |
|
69 | 75 | "state", |
70 | 76 | "graph" |
71 | 77 | ], |
| 78 | + "tsd": { |
| 79 | + "directory": "types/tests" |
| 80 | + }, |
72 | 81 | "repository": { |
73 | 82 | "type": "git", |
74 | 83 | "url": "https://github.com/homebaseio/homebase-react.git" |
|
0 commit comments