|
3 | 3 | "version": "1.5.3", |
4 | 4 | "description": "A production-focused playground for live editing React code", |
5 | 5 | "main": "lib/index.js", |
6 | | - "typings": "./react-live.d.ts", |
| 6 | + "typings": "./typings/react-live.d.ts", |
7 | 7 | "jsnext:main": "dist/react-live.es.js", |
8 | 8 | "module": "dist/react-live.es.js", |
9 | 9 | "license": "MIT", |
|
14 | 14 | "build:dist": "rollup -c && rollup -c --environment PRODUCTION", |
15 | 15 | "build": "npm-run-all build:lib build:dist", |
16 | 16 | "prepublish": "npm run build", |
17 | | - "test": "jest" |
| 17 | + "test": "jest", |
| 18 | + "test:typings": "typings-tester --dir typings" |
18 | 19 | }, |
19 | 20 | "dependencies": { |
20 | 21 | "buble": "^0.15.2", |
|
27 | 28 | "devDependencies": { |
28 | 29 | "@kadira/storybook": "^2.35.3", |
29 | 30 | "@kadira/storybook-addon-knobs": "^1.7.1", |
| 31 | + "@types/react": "^15.0.26", |
30 | 32 | "babel-cli": "^6.24.0", |
31 | 33 | "babel-plugin-add-module-exports": "^0.2.1", |
32 | 34 | "babel-plugin-external-helpers": "^6.22.0", |
|
47 | 49 | "rollup-plugin-node-resolve": "^2.1.1", |
48 | 50 | "rollup-plugin-replace": "^1.1.1", |
49 | 51 | "rollup-plugin-uglify": "^1.0.1", |
50 | | - "rollup-plugin-visualizer": "^0.2.0" |
| 52 | + "rollup-plugin-visualizer": "^0.2.0", |
| 53 | + "typescript": "^2.3.4", |
| 54 | + "typings-tester": "^0.2.2" |
51 | 55 | }, |
52 | 56 | "files": [ |
53 | 57 | "src", |
54 | 58 | "lib", |
55 | 59 | "dist", |
56 | | - "react-live.css" |
| 60 | + "react-live.css", |
| 61 | + "typings/react-live.d.ts" |
57 | 62 | ], |
58 | 63 | "author": "Phil Plückthun <phil@plckthn.me> (https://github.com/philpl)", |
59 | 64 | "bugs": { |
|
0 commit comments