File tree 2 files changed +10
-14
lines changed
2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 34
34
"@types/unist" : " ^2.0.2"
35
35
},
36
36
"devDependencies" : {
37
- "browserify" : " ^16 .0.0" ,
38
- "dtslint" : " ^3 .0.0" ,
37
+ "browserify" : " ^17 .0.0" ,
38
+ "dtslint" : " ^4 .0.0" ,
39
39
"nyc" : " ^15.0.0" ,
40
40
"prettier" : " ^2.0.0" ,
41
- "remark-cli" : " ^8 .0.0" ,
42
- "remark-preset-wooorm" : " ^7 .0.0" ,
41
+ "remark-cli" : " ^9 .0.0" ,
42
+ "remark-preset-wooorm" : " ^8 .0.0" ,
43
43
"tape" : " ^5.0.0" ,
44
- "tinyify" : " ^2 .0.0" ,
45
- "typescript" : " ^3 .0.0" ,
46
- "xo" : " ^0.32 .0"
44
+ "tinyify" : " ^3 .0.0" ,
45
+ "typescript" : " ^4 .0.0" ,
46
+ "xo" : " ^0.34 .0"
47
47
},
48
48
"scripts" : {
49
- "format" : " remark . -qfo && prettier . --write && xo --fix" ,
50
- "build-bundle" : " browserify . -s unistUtilStringifyPosition > unist-util-stringify-position.js" ,
51
- "build-mangle" : " browserify . -s unistUtilStringifyPosition -p tinyify > unist-util-stringify-position.min.js" ,
49
+ "format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
50
+ "build-bundle" : " browserify . -s unistUtilStringifyPosition -o unist-util-stringify-position.js" ,
51
+ "build-mangle" : " browserify . -s unistUtilStringifyPosition -o unist-util-stringify-position.min.js -p tinyify " ,
52
52
"build" : " npm run build-bundle && npm run build-mangle" ,
53
53
"test-api" : " node test" ,
54
54
"test-coverage" : " nyc --reporter lcov tape test.js" ,
Original file line number Diff line number Diff line change 1
1
import stringify = require( 'unist-util-stringify-position' )
2
2
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
-
5
3
// Point
6
4
const stringValue : string = stringify ( { line : 2 , column : 3 } ) // => '2:3'
7
5
@@ -20,5 +18,3 @@ const stringValue3: string = stringify({
20
18
end : { line : 5 , column : 12 }
21
19
}
22
20
} ) // => '5:11-5:12'
23
-
24
- /* eslint-enable @typescript-eslint/no-unused-vars */
You can’t perform that action at this time.
0 commit comments