File tree Expand file tree Collapse file tree 5 files changed +22
-3
lines changed Expand file tree Collapse file tree 5 files changed +22
-3
lines changed Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Copyright (c) Microsoft Corporation.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ module . exports = require ( 'playwright-core/lib/cli/cli' ) ;
Original file line number Diff line number Diff line change 35
35
"./types/protocol" : " ./types/protocol.d.ts" ,
36
36
"./types/structs" : " ./types/structs.d.ts"
37
37
},
38
+ "bin" : {
39
+ "playwright" : " ./cli.js"
40
+ },
38
41
"types" : " types/types.d.ts"
39
42
}
Original file line number Diff line number Diff line change 14
14
* See the License for the specific language governing permissions and
15
15
* limitations under the License.
16
16
*/
17
- module . exports = require ( '@playwright/test/cli' ) ;
17
+ module . exports = require ( '@playwright/test/lib/ cli' ) ;
Original file line number Diff line number Diff line change 14
14
* See the License for the specific language governing permissions and
15
15
* limitations under the License.
16
16
*/
17
- module . exports = require ( '. /lib/cli' ) ;
17
+ module . exports = require ( '@playwright/test /lib/cli' ) ;
Original file line number Diff line number Diff line change 15
15
"require" : " ./index.js" ,
16
16
"default" : " ./index.js"
17
17
},
18
- "./cli" : " ./cli.js" ,
19
18
"./package.json" : " ./package.json" ,
20
19
"./lib/cli" : " ./lib/cli.js" ,
21
20
"./lib/common/babelBundle" : " ./lib/common/babelBundle.js" ,
You can’t perform that action at this time.
0 commit comments