|
1 | 1 | { |
2 | 2 | "name": "atom-typescript", |
3 | 3 | "version": "13.9.3", |
4 | | - "main": "./dist/main/atomts", |
| 4 | + "main": "./dist/main/atomts.js", |
5 | 5 | "preferGlobal": true, |
6 | 6 | "description": "The only TypeScript plugin you will ever need.", |
7 | 7 | "atomTestRunner": "./node_modules/atom-ts-spec-runner/runner.js", |
|
15 | 15 | ] |
16 | 16 | }, |
17 | 17 | "scripts": { |
18 | | - "build": "tsc -p ./lib", |
| 18 | + "tsc": "tsc -p ./lib", |
| 19 | + "dev": "cross-env NODE_ENV=development parcel watch --target main lib/main/atomts.ts", |
| 20 | + "build": "cross-env NODE_ENV=production parcel build --target main lib/main/atomts.ts", |
19 | 21 | "prettier": "ts-node scripts/prettier.ts write", |
20 | 22 | "prettier-check": "ts-node scripts/prettier.ts check", |
21 | 23 | "typecheck": "tsc --noEmit -p ./lib && tsc --noEmit -p ./scripts && tsc --noEmit -p ./spec", |
|
396 | 398 | "ts-node": "^9.0.0", |
397 | 399 | "tslint": "^6.1.3", |
398 | 400 | "tslint-use-atom-disposables": "0.0.1", |
399 | | - "typescript-tslint-plugin": "0.5.5" |
| 401 | + "typescript-tslint-plugin": "0.5.5", |
| 402 | + "parcel": "^2.0.0-beta.1", |
| 403 | + "@parcel/transformer-typescript-tsc": "^2.0.0-beta.1", |
| 404 | + "cross-env": "7.0.2" |
400 | 405 | }, |
401 | 406 | "package-deps": [ |
402 | 407 | "atom-ide-ui:0.13.0" |
403 | 408 | ], |
| 409 | + "targets": { |
| 410 | + "main": { |
| 411 | + "context": "electron-renderer", |
| 412 | + "engines": { |
| 413 | + "electron": ">=5.x" |
| 414 | + }, |
| 415 | + "includeNodeModules": { |
| 416 | + "atom": false, |
| 417 | + "electron": false, |
| 418 | + "typescript": false |
| 419 | + }, |
| 420 | + "outputFormat": "commonjs", |
| 421 | + "isLibrary": true |
| 422 | + } |
| 423 | + }, |
404 | 424 | "keywords": [ |
405 | 425 | "typescript", |
406 | 426 | "javascript", |
|
0 commit comments