File tree 3 files changed +25
-3
lines changed
3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change
1
+ build
2
+
1
3
node_modules
2
4
npm-debug.log
3
5
package-lock.json
Original file line number Diff line number Diff line change
1
+ const presets = [
2
+ [
3
+ "@babel/env" ,
4
+ {
5
+ targets : {
6
+ edge : "44" ,
7
+ firefox : "66" ,
8
+ chrome : "73" ,
9
+ safari : "12" ,
10
+ ie : "9"
11
+ }
12
+ } ,
13
+ ] ,
14
+ ] ;
15
+
16
+ module . exports = { presets} ;
Original file line number Diff line number Diff line change 2
2
"name" : " assert" ,
3
3
"version" : " 2.0.0-prerelease" ,
4
4
"description" : " The assert module from Node.js, for the browser." ,
5
- "main" : " . /assert.js" ,
5
+ "main" : " build /assert.js" ,
6
6
"license" : " MIT" ,
7
7
"homepage" : " https://github.com/browserify/commonjs-assert" ,
8
8
"repository" : " browserify/commonjs-assert" ,
9
9
"scripts" : {
10
- "test" : " node test.js" ,
11
- "test:browsers" : " airtap test.js" ,
10
+ "build" : " babel assert.js test.js --out-dir build && babel internal --out-dir build/internal && babel test --out-dir build/test" ,
11
+ "test" : " node build/test.js" ,
12
+ "test:browsers" : " airtap build/test.js" ,
12
13
"test:browsers:local" : " npm run test:browsers -- --local"
13
14
},
14
15
"keywords" : [
15
16
" assert" ,
16
17
" browser"
17
18
],
18
19
"devDependencies" : {
20
+ "@babel/cli" : " ^7.4.4" ,
21
+ "@babel/core" : " ^7.4.4" ,
22
+ "@babel/preset-env" : " ^7.4.4" ,
19
23
"airtap" : " ^2.0.2" ,
20
24
"cross-env" : " ^5.2.0" ,
21
25
"tape" : " ^4.10.1"
You can’t perform that action at this time.
0 commit comments