This repository was archived by the owner on Jan 6, 2021. It is now read-only.
File tree 5 files changed +18
-5
lines changed
5 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 81
81
" code" ,
82
82
" test"
83
83
]
84
+ },
85
+ {
86
+ "login" : " thomasthiebaud" ,
87
+ "name" : " Thiebaud Thomas" ,
88
+ "avatar_url" : " https://avatars0.githubusercontent.com/u/3715715?v=3" ,
89
+ "profile" : " https://github.com/thomasthiebaud" ,
90
+ "contributions" : [
91
+ " bug" ,
92
+ " code" ,
93
+ " test"
94
+ ]
84
95
}
85
96
]
86
97
}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Run scripts that set and use environment variables across platforms
10
10
[ ![ downloads] [ downloads-badge ]] [ npm-stat ]
11
11
12
12
[ ![ MIT License] [ license-badge ]] [ LICENSE ]
13
- [ ![ All Contributors] ( https://img.shields.io/badge/all_contributors-7 -orange.svg?style=flat-square )] ( #contributors )
13
+ [ ![ All Contributors] ( https://img.shields.io/badge/all_contributors-8 -orange.svg?style=flat-square )] ( #contributors )
14
14
[ ![ PRs Welcome] [ prs-badge ]] [ prs ]
15
15
[ ![ Donate] [ donate-badge ]] [ donate ]
16
16
[ ![ Code of Conduct] [ coc-badge ]] [ coc ]
@@ -102,8 +102,9 @@ much easier for windows users.
102
102
Thanks goes to these people ([ emoji key] [ emojis ] ):
103
103
104
104
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
105
- | [<img src="https://avatars.githubusercontent.com/u/1500684?v=3" width="100px;"/><br /><sub>Kent C. Dodds</sub>](https://kentcdodds.com)<br />[💻](https://github.com/kentcdodds/cross-env/commits?author=kentcdodds) [📖](https://github.com/kentcdodds/cross-env/commits?author=kentcdodds) 🚇 [⚠️](https://github.com/kentcdodds/cross-env/commits?author=kentcdodds) | [<img src="https://avatars1.githubusercontent.com/u/499038?v=3" width="100px;"/><br /><sub>Ya Zhuang </sub>](https://zhuangya.me)<br />🔌 [📖](https://github.com/kentcdodds/cross-env/commits?author=zhuangya) | [<img src="https://avatars3.githubusercontent.com/u/3440094?v=3" width="100px;"/><br /><sub>James Harris</sub>](https://wopian.me)<br />[📖](https://github.com/kentcdodds/cross-env/commits?author=wopian) | [<img src="https://avatars1.githubusercontent.com/u/8941730?v=3" width="100px;"/><br /><sub>compumike08</sub>](https://github.com/compumike08)<br />[🐛](https://github.com/kentcdodds/cross-env/issues?q=author%3Acompumike08) [📖](https://github.com/kentcdodds/cross-env/commits?author=compumike08) [⚠️](https://github.com/kentcdodds/cross-env/commits?author=compumike08) | [<img src="https://avatars1.githubusercontent.com/u/2270425?v=3" width="100px;"/><br /><sub>Daniel Rodríguez Rivero</sub>](https://github.com/danielo515)<br />[🐛](https://github.com/kentcdodds/cross-env/issues?q=author%3Adanielo515) [💻](https://github.com/kentcdodds/cross-env/commits?author=danielo515) [📖](https://github.com/kentcdodds/cross-env/commits?author=danielo515) | [<img src="https://avatars2.githubusercontent.com/u/1508477?v=3" width="100px;"/><br /><sub>Jonas Keinholz</sub>](https://github.com/inyono)<br />[🐛](https://github.com/kentcdodds/cross-env/issues?q=author%3Ainyono) [💻](https://github.com/kentcdodds/cross-env/commits?author=inyono) [⚠️](https://github.com/kentcdodds/cross-env/commits?author=inyono) | [<img src="https://avatars3.githubusercontent.com/u/1656170?v=3" width="100px;"/><br /><sub>Hugo Wood</sub>](https://github.com/hgwood/blog)<br />[🐛](https://github.com/kentcdodds/cross-env/issues?q=author%3Ahgwood) [💻](https://github.com/kentcdodds/cross-env/commits?author=hgwood) [⚠️](https://github.com/kentcdodds/cross-env/commits?author=hgwood) |
105
+ | [<img src="https://avatars.githubusercontent.com/u/1500684?v=3" width="100px;"/><br /><sub>Kent C. Dodds</sub>](https://kentcdodds.com)<br />[💻](https://github.com/kentcdodds/cross-env/commits?author=kentcdodds) [📖](https://github.com/kentcdodds/cross-env/commits?author=kentcdodds) 🚇 [⚠️](https://github.com/kentcdodds/cross-env/commits?author=kentcdodds) | [<img src="https://avatars1.githubusercontent.com/u/499038?v=3" width="100px;"/><br /><sub>Ya Zhuang </sub>](https://zhuangya.me)<br />🔌 [📖](https://github.com/kentcdodds/cross-env/commits?author=zhuangya) | [<img src="https://avatars3.githubusercontent.com/u/3440094?v=3" width="100px;"/><br /><sub>James Harris</sub>](https://wopian.me)<br />[📖](https://github.com/kentcdodds/cross-env/commits?author=wopian) | [<img src="https://avatars1.githubusercontent.com/u/8941730?v=3" width="100px;"/><br /><sub>compumike08</sub>](https://github.com/compumike08)<br />[🐛](https://github.com/kentcdodds/cross-env/issues?q=author%3Acompumike08) [📖](https://github.com/kentcdodds/cross-env/commits?author=compumike08) [⚠️](https://github.com/kentcdodds/cross-env/commits?author=compumike08) | [<img src="https://avatars1.githubusercontent.com/u/2270425?v=3" width="100px;"/><br /><sub>Daniel Rodríguez Rivero</sub>](https://github.com/danielo515)<br />[🐛](https://github.com/kentcdodds/cross-env/issues?q=author%3Adanielo515) [💻](https://github.com/kentcdodds/cross-env/commits?author=danielo515) [📖](https://github.com/kentcdodds/cross-env/commits?author=danielo515) | [<img src="https://avatars2.githubusercontent.com/u/1508477?v=3" width="100px;"/><br /><sub>Jonas Keinholz</sub>](https://github.com/inyono)<br />[🐛](https://github.com/kentcdodds/cross-env/issues?q=author%3Ainyono) [💻](https://github.com/kentcdodds/cross-env/commits?author=inyono) [⚠️](https://github.com/kentcdodds/cross-env/commits?author=inyono) | [<img src="https://avatars3.githubusercontent.com/u/1656170?v=3" width="100px;"/><br /><sub>Hugo Wood</sub>](https://github.com/hgwood)<br />[🐛](https://github.com/kentcdodds/cross-env/issues?q=author%3Ahgwood) [💻](https://github.com/kentcdodds/cross-env/commits?author=hgwood) [⚠️](https://github.com/kentcdodds/cross-env/commits?author=hgwood) |
106
106
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
107
+ | [ <img src =" https://avatars0.githubusercontent.com/u/3715715?v=3 " width =" 100px; " /><br /><sub >Thiebaud Thomas</sub >] ( https://github.com/thomasthiebaud ) <br /> |
107
108
<!-- ALL-CONTRIBUTORS-LIST:END -->
108
109
109
110
This project follows the [ all-contributors] [ all-contributors ] specification. Contributions of any kind welcome!
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
3
- import crossEnv from '../'
3
+ const crossEnv = require ( '..' )
4
4
5
5
crossEnv ( process . argv . slice ( 2 ) )
Original file line number Diff line number Diff line change 1
1
import { spawn } from 'cross-spawn'
2
2
import commandConvert from './command'
3
3
4
- export default crossEnv
4
+ module . exports = crossEnv
5
5
6
6
const envSetterRegex = / ( \w + ) = ( ' ( .+ ) ' | " ( .+ ) " | ( .+ ) ) /
7
7
Original file line number Diff line number Diff line change 1
1
import crossSpawnMock from 'cross-spawn'
2
- import crossEnv from '.'
2
+
3
+ const crossEnv = require ( '.' )
3
4
4
5
beforeEach ( ( ) => {
5
6
crossSpawnMock . __mock . reset ( )
You can’t perform that action at this time.
0 commit comments