File tree Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Git attributes
2
+ # https://git-scm.com/docs/gitattributes
3
+ # https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes
4
+
5
+ # Normalize line endings for all files that git determines to be text.
6
+ # https://git-scm.com/docs/gitattributes#gitattributes-Settostringvalueauto
7
+ * text =auto
8
+
9
+ # Normalize line endings to LF on checkin, and do NOT convert to CRLF when checking-out on Windows.
10
+ # https://git-scm.com/docs/gitattributes#gitattributes-Settostringvaluelf
11
+ * .txt text eol =lf
12
+ * .html text eol =lf
13
+ * .md text eol =lf
14
+ * .css text eol =lf
15
+ * .scss text eol =lf
16
+ * .map text eol =lf
17
+ * .js text eol =lf
18
+ * .jsx text eol =lf
19
+ * .ts text eol =lf
20
+ * .tsx text eol =lf
21
+ * .json text eol =lf
22
+ * .yml text eol =lf
23
+ * .yaml text eol =lf
24
+ * .xml text eol =lf
25
+ * .svg text eol =lf
Original file line number Diff line number Diff line change
1
+ # NYC config
2
+ # https://github.com/istanbuljs/nyc#configuration-files
3
+
4
+ extension :
5
+ - .js
6
+ - .ts
7
+
8
+ reporter :
9
+ - text
10
+ - lcov
Original file line number Diff line number Diff line change 35
35
" lib"
36
36
],
37
37
"engines" : {
38
- "node" : " >=6 "
38
+ "node" : " >=10 "
39
39
},
40
40
"scripts" : {
41
+ "clean" : " shx rm -rf .nyc_output coverage" ,
41
42
"lint" : " eslint bin lib test/fixtures test/specs" ,
42
43
"test" : " mocha && npm run lint" ,
43
- "coverage" : " nyc --reporter=text --reporter=lcov node_modules/mocha/bin/mocha" ,
44
+ "coverage" : " nyc node_modules/mocha/bin/mocha" ,
44
45
"upgrade" : " npm-check -u && npm audit fix" ,
45
46
"bump" : " bump --tag --push --all" ,
46
- "release" : " npm run upgrade && npm test && npm run bump"
47
+ "release" : " npm run upgrade && npm run clean && npm test && npm run bump"
47
48
},
48
49
"dependencies" : {
49
50
"@jsdevtools/browserify-banner" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments