|
9 | 9 | "license": "MIT", |
10 | 10 | "licenseUrl": "http://www.opensource.org/licenses/mit-license.php", |
11 | 11 | "main": "./src/phaser.js", |
| 12 | + "types": "./types/phaser.d.ts", |
12 | 13 | "repository": { |
13 | 14 | "type": "git", |
14 | 15 | "url": "https://photonstorm@github.com/photonstorm/phaser.git" |
|
35 | 36 | "lintfix": "eslint --config .eslintrc.json \"src/**/*.js\" --fix", |
36 | 37 | "sloc": "node-sloc \"./src\" --include-extensions \"js\"", |
37 | 38 | "bundleshaders": "node scripts/bundle-shaders.js", |
38 | | - "postinstall": "node scripts/support.js" |
| 39 | + "postinstall": "node scripts/support.js", |
| 40 | + "build-tsgen": "cd scripts/tsgen && tsc", |
| 41 | + "tsgen": "cd scripts/tsgen && jsdoc -c jsdoc-tsd.conf.json", |
| 42 | + "test-ts": "cd scripts/tsgen/test && tsc > output.txt", |
| 43 | + "ts": "npm run tsgen && npm run test-ts", |
| 44 | + "tsdev": "cd scripts/tsgen && tsc && jsdoc -c jsdoc-tsd.conf.json" |
39 | 45 | }, |
40 | 46 | "keywords": [ |
41 | 47 | "2d", |
|
53 | 59 | "clean-webpack-plugin": "^0.1.19", |
54 | 60 | "eslint": "^4.19.1", |
55 | 61 | "eslint-plugin-es5": "^1.3.1", |
56 | | - "fs-extra": "^6.0.0", |
| 62 | + "fs-extra": "^6.0.1", |
57 | 63 | "node-sloc": "^0.1.11", |
58 | 64 | "uglifyjs-webpack-plugin": "^1.3.0", |
59 | 65 | "vivid-cli": "^1.1.2", |
|
62 | 68 | "webpack-shell-plugin": "^0.5.0" |
63 | 69 | }, |
64 | 70 | "dependencies": { |
| 71 | + "dts-dom": "^3.2.0", |
65 | 72 | "eventemitter3": "^3.1.0", |
66 | 73 | "exports-loader": "^0.7.0", |
67 | | - "imports-loader": "^0.8.0" |
| 74 | + "imports-loader": "^0.8.0", |
| 75 | + "jsdoc": "^3.6.1", |
| 76 | + "path": "^0.12.7", |
| 77 | + "typescript": "^3.4.5" |
68 | 78 | } |
69 | 79 | } |
0 commit comments