File tree Expand file tree Collapse file tree 16 files changed +7460
-55
lines changed Expand file tree Collapse file tree 16 files changed +7460
-55
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,13 @@ node_js:
3
3
- ' 8'
4
4
- ' 6'
5
5
- ' 4'
6
+ install :
7
+ - npm install -g npx
8
+ - npx yarn install
9
+ - npx lerna bootstrap
10
+ - npm --version
11
+ - yarn --version
12
+ - npx --version
13
+ script :
14
+ - npx yarn build
15
+ - npx yarn test
Original file line number Diff line number Diff line change
1
+ workspaces-experimental "true"
2
+ registry "https://registry.npmjs.org/"
Original file line number Diff line number Diff line change 6
6
"commitlint" : " ./lib/cli.js"
7
7
},
8
8
"scripts" : {
9
- "build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
10
- "clean" : " rimraf lib" ,
11
- "prepublish" : " npm run build" ,
12
- "prestart" : " dep-check && npm run build" ,
13
- "pretest" : " dep-check && npm run build" ,
14
- "start" : " concurrently \" ava -c 4 --verbose --watch\" \" npm run watch\" " ,
15
- "test" : " ava -c 4 $AVA_VERBOSE" ,
16
- "watch" : " babel src --out-dir lib --watch --source-maps"
9
+ "build" : " npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps" ,
10
+ "clean" : " npx rimraf lib" ,
11
+ "prestart" : " dep-check && npx yarn run build" ,
12
+ "pretest" : " dep-check && npx yarn run build" ,
13
+ "start" : " npx concurrently \" npx ava -c 4 --verbose --watch\" \" npx yarn run watch\" " ,
14
+ "test" : " npx ava -c 4 $AVA_VERBOSE" ,
15
+ "watch" : " npx babel src --out-dir lib --watch --source-maps"
17
16
},
18
17
"ava" : {
19
18
"files" : [
Original file line number Diff line number Diff line change 3
3
"version" : " 4.2.0" ,
4
4
"description" : " Shareable commitlint config enforcing lerna package names as scopes" ,
5
5
"scripts" : {
6
- "pretest" : " dep-check" ,
7
- "start" : " ava --watch --verbose" ,
8
- "test" : " ava $AVA_VERBOSE" ,
6
+ "start" : " npx ava --watch --verbose" ,
7
+ "test" : " npx ava $AVA_VERBOSE" ,
9
8
"clean" : " exit 0"
10
9
},
11
10
"xo" : false ,
40
39
},
41
40
"devDependencies" : {
42
41
"@commitlint/test" : " ^4.2.0" ,
43
- "@commitlint/utils" : " ^4.2.0" ,
44
42
"ava" : " ^0.22.0"
45
43
}
46
44
}
Original file line number Diff line number Diff line change 4
4
"description" : " Lint your commit messages" ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
7
- "build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
8
- "clean" : " rimraf lib" ,
9
- "prepublish" : " npm run build" ,
7
+ "build" : " npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps" ,
8
+ "clean" : " npx rimraf lib" ,
10
9
"pretest" : " dep-check" ,
11
- "start" : " concurrently \" ava -c 4 --verbose --watch\" \" npm run watch\" " ,
12
- "test" : " ava -c 4 $AVA_VERBOSE" ,
13
- "watch" : " babel src --out-dir lib --watch --source-maps"
10
+ "start" : " npx concurrently \" npx ava -c 4 --verbose --watch\" \" npx yarn run watch\" " ,
11
+ "test" : " npx ava -c 4 $AVA_VERBOSE" ,
12
+ "watch" : " npx babel src --out-dir lib --watch --source-maps"
14
13
},
15
14
"ava" : {
16
15
"files" : [
Original file line number Diff line number Diff line change 6
6
"commit" : " ./cli.js"
7
7
},
8
8
"scripts" : {
9
- "clean" : " rimraf lib" ,
9
+ "clean" : " npx rimraf lib" ,
10
10
"commit" : " $npm_package_bin_commit" ,
11
11
"pretest" : " dep-check"
12
12
},
Original file line number Diff line number Diff line change 4
4
"description" : " commitizen prompt using commitlint.config.js" ,
5
5
"main" : " ./lib/index.js" ,
6
6
"scripts" : {
7
- "build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
8
- "clean" : " rimraf lib" ,
9
- "commit" : " git-cz" ,
10
- "prepublish" : " npm run build" ,
7
+ "build" : " npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps" ,
8
+ "clean" : " npx rimraf lib" ,
9
+ "commit" : " npx git-cz" ,
11
10
"pretest" : " dep-check" ,
12
- "start" : " concurrently \" ava --watch --verbose\" \" npm run watch\" " ,
13
- "test" : " ava $AVA_VERBOSE" ,
14
- "watch" : " babel src --out-dir lib --watch --source-maps"
11
+ "start" : " npx concurrently \" npx ava --watch --verbose\" \" npx yarn run watch\" " ,
12
+ "test" : " npx ava $AVA_VERBOSE" ,
13
+ "watch" : " npx babel src --out-dir lib --watch --source-maps"
15
14
},
16
15
"ava" : {
17
16
"babel" : " inherit" ,
Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"pretest" : " dep-check" ,
8
- "start" : " ava --watch --verbose" ,
9
- "test" : " ava $AVA_VERBOSE"
8
+ "start" : " npx ava --watch --verbose" ,
9
+ "test" : " npx ava $AVA_VERBOSE"
10
10
},
11
11
"ava" : {
12
12
"files" : [
Original file line number Diff line number Diff line change 6
6
"private" : true ,
7
7
"scripts" : {
8
8
"pretest" : " dep-check" ,
9
- "start" : " concurrently \" ava --watch --verbose\" \" npm run watch\" " ,
10
- "test" : " ava $AVA_VERBOSE" ,
11
- "build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
12
- "watch" : " babel src --out-dir lib --watch --source-maps" ,
13
- "clean" : " rimraf lib" ,
14
- "prepublish" : " npm run build"
9
+ "start" : " npx concurrently \" npx ava --watch --verbose\" \" npx yarn run watch\" " ,
10
+ "test" : " npx ava $AVA_VERBOSE" ,
11
+ "build" : " npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps" ,
12
+ "watch" : " npx babel src --out-dir lib --watch --source-maps" ,
13
+ "clean" : " npx rimraf lib"
15
14
},
16
15
"ava" : {
17
16
"files" : [
You can’t perform that action at this time.
0 commit comments