This repository was archived by the owner on Nov 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +33
-37
lines changed Expand file tree Collapse file tree 5 files changed +33
-37
lines changed Original file line number Diff line number Diff line change 11{
2- // See https://go.microsoft.com/fwlink/?LinkId=733558
3- // for the documentation about the tasks.json format
4- "version" : " 0.1.0" ,
5- "command" : " npm" ,
6- "isShellCommand" : true ,
7- "showOutput" : " silent" ,
8- "suppressTaskName" : true ,
9- "tasks" : [
10- {
11- "taskName" : " build" ,
12- "args" : [
13- " run" ,
14- " build" ,
15- " --" ,
16- " --watch"
17- ],
18- "echoCommand" : true ,
19- "isBuildCommand" : true ,
20- "isWatching" : true
21- }
22- ]
2+ // See https://go.microsoft.com/fwlink/?LinkId=733558
3+ // for the documentation about the tasks.json format
4+ "version" : " 2.0.0" ,
5+ "tasks" : [
6+ {
7+ "type" : " npm" ,
8+ "script" : " build:watch" ,
9+ "group" : {
10+ "kind" : " build" ,
11+ "isDefault" : true
12+ },
13+ "isBackground" : true ,
14+ "presentation" : {
15+ "echo" : true ,
16+ "reveal" : " silent" ,
17+ "focus" : false ,
18+ "panel" : " shared"
19+ },
20+ "problemMatcher" : [
21+ " $tsc-watch"
22+ ]
23+ }
24+ ]
2325}
Original file line number Diff line number Diff line change 1717 "clean" : " rimraf dist" ,
1818 "prebuild" : " npm run clean" ,
1919 "build" : " tsc --sourceMap" ,
20+ "build:watch" : " npm run build -- --watch" ,
2021 "build:inline" : " tsc --inlineSourceMap" ,
2122 "pretest" : " npm run clean && npm run build:inline" ,
2223 "test" : " nyc ava" ,
3839 "devDependencies" : {
3940 "@knisterpeter/standard-tslint" : " ^1.6.0" ,
4041 "@types/babel-generator" : " ^6.7.14" ,
41- "@types/chalk" : " ^0.4.31" ,
4242 "@types/diff" : " ^3.2.0" ,
4343 "@types/node" : " ^8.0.0" ,
4444 "@types/react" : " ^16.0.0" ,
6363 "astq" : " ^2.0.2" ,
6464 "babel-generator" : " ^6.24.1" ,
6565 "babylon" : " 7.0.0-beta.9" ,
66- "chalk" : " 2.1 .0" ,
66+ "chalk" : " ^2.3 .0" ,
6767 "dts-dom" : " ^0.1.20" ,
6868 "get-stdin" : " ^5.0.1" ,
6969 "meow" : " ^3.7.0" ,
Original file line number Diff line number Diff line change 11import astToCode from 'babel-generator' ;
2- import * as chalk from 'chalk' ;
2+ import chalk from 'chalk' ;
33import * as dom from 'dts-dom' ;
44import { IOptions } from './index' ;
55import { propTypeQueryExpression , AstQuery } from './typings' ;
Original file line number Diff line number Diff line change 11import test , { TestContext } from 'ava' ;
22
3- import * as chalk from 'chalk' ;
3+ import chalk from 'chalk' ;
44import * as diff from 'diff' ;
55import * as fs from 'fs' ;
66import * as path from 'path' ;
You can’t perform that action at this time.
0 commit comments