File tree 3 files changed +3688
-67
lines changed 3 files changed +3688
-67
lines changed Original file line number Diff line number Diff line change
1
+ dist : trusty
2
+
3
+ language : node_js
4
+
5
+ node_js :
6
+ - ' 12'
7
+
8
+ branches :
9
+ only :
10
+ - main
11
+
12
+ cache : yarn
13
+
14
+ before_install :
15
+ - curl -o- -L https://yarnpkg.com/install.sh | bash
16
+ - export PATH="$HOME/.yarn/bin:$PATH"
17
+
18
+ install :
19
+ - yarn install --frozen-lockfile --production=false
20
+
21
+ script :
22
+ - yarn test
23
+ - yarn build
24
+
25
+ after_success :
26
+ - yarn run semantic-release
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " markdown-truncate" ,
3
- "version" : " 1 .0.3 " ,
3
+ "version" : " 0 .0.0-development " ,
4
4
"description" : " A zero-dependency, vanilla JavaScript utility to truncate markdown text." ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
7
7
"test" : " jest" ,
8
- "build" : " esbuild ./src/index.js --minify --outfile=lib/index.js"
8
+ "build" : " esbuild ./src/index.js --minify --outfile=lib/index.js" ,
9
+ "semantic-release" : " semantic-release"
9
10
},
10
11
"author" : " Sílvia Mur Blanch <pchiwan@gmail.com>" ,
11
12
"license" : " ISC" ,
12
13
"devDependencies" : {
13
14
"esbuild" : " ^0.8.5" ,
14
15
"jest" : " ^26.6.3" ,
15
- "prettier" : " ^2.1.2"
16
+ "prettier" : " ^2.1.2" ,
17
+ "semantic-release" : " ^17.2.2"
18
+ },
19
+ "release" : {
20
+ "branches" : [
21
+ " main"
22
+ ],
23
+ "verifyConditions" : [
24
+ " @semantic-release/github"
25
+ ]
26
+ },
27
+ "repository" : {
28
+ "type" : " git" ,
29
+ "url" : " https://github.com/pchiwan/markdown-truncate.git"
16
30
}
17
31
}
You can’t perform that action at this time.
0 commit comments