@browsermation/test 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/bin/cli.js +48519 -0
  2. package/dist/index.js +39 -48480
  3. package/package.json +10 -4
package/package.json CHANGED
@@ -1,18 +1,24 @@
1
1
  {
2
2
  "name": "@browsermation/test",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "The testing platform for Playwright by Browsermation.",
5
5
  "main": "dist/index.js",
6
+ "exports": {
7
+ ".": "./dist/index.js",
8
+ "./package.json": "./package.json"
9
+ },
6
10
  "bin": {
7
- "browsermation": "dist/index.js"
11
+ "browsermation": "dist/bin/cli.js"
8
12
  },
9
13
  "files": [
10
14
  "dist"
11
15
  ],
12
16
  "publisher": "@browsermation",
13
17
  "scripts": {
14
- "build": "esbuild src/index.ts --bundle --platform=node --target=node22 --outfile=dist/index.js ",
15
- "start": "node dist/index.js",
18
+ "build:cli": "esbuild src/bin/cli.ts --bundle --platform=node --target=node22 --outfile=dist/bin/cli.js ",
19
+ "build:index": "esbuild src/index.ts --bundle --platform=node --target=node22 --outfile=dist/index.js ",
20
+ "build": "npm run build:cli && npm run build:index",
21
+ "start": "node dist/bin/cli.js",
16
22
  "build:start": "npm run build && npm start",
17
23
  "publish": "npm run build && npm publish --access public"
18
24
  },