-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
4,895 additions
and
4,762 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"private": true, | ||
"name": "playerx", | ||
"version": "1.0.0-beta.8", | ||
"description": "Playerx", | ||
|
@@ -10,43 +9,24 @@ | |
"repository": "luwes/playerx", | ||
"license": "MIT", | ||
"author": "Wesley Luyten <[email protected]> (https://wesleyluyten.com)", | ||
"main": "dist/playerx.js", | ||
"module": "dist/playerx.js", | ||
"types": "src/playerx/index.d.ts", | ||
"main": "src/playerx.js", | ||
"module": "src/playerx.js", | ||
"types": "src/playerx.d.ts", | ||
"files": [ | ||
"src", | ||
"dist" | ||
], | ||
"workspaces": [ | ||
"site" | ||
"src" | ||
], | ||
"scripts": { | ||
"build": "run-s build:*", | ||
"build:js": "run-s build:js:*", | ||
"build:js:playerx": "esbuild src/playerx/index.js --outfile=dist/playerx.js --bundle --format=esm", | ||
"build:js:config": "esbuild src/config/index.js --outfile=dist/config.js --bundle --format=esm", | ||
"build:demo": "yarn workspace site build", | ||
"dev": "run-p dev:*", | ||
"dev:demo": "yarn workspace site dev", | ||
"dev:js": "esbuild src/playerx/index.js --servedir=dist --outfile=dist/playerx.js --bundle --format=esm", | ||
"serve": "yarn workspace site serve", | ||
"build": "pnpm --filter=site build", | ||
"dev": "npx serve --cors -p 8000 src & pnpm --filter=site dev", | ||
"serve": "pnpm --filter=site serve", | ||
"lint": "eslint src/*/", | ||
"test": "yarn lint", | ||
"release": "PRIVATE=false yarn update-private && yarn publish", | ||
"prepublishOnly": "yarn lint && yarn build:js", | ||
"postpublish": "PRIVATE=true yarn update-private", | ||
"update-private": "node -e \"let pkg=require('./package.json'); pkg.private = $PRIVATE; require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));\"" | ||
"test": "pnpm lint" | ||
}, | ||
"dependencies": { | ||
"super-media-element": "^0.3.1" | ||
"super-media-element": "^0.4.1" | ||
}, | ||
"devDependencies": { | ||
"dotenv": "^16.0.3", | ||
"esbuild": "^0.17.2", | ||
"eslint": "^8.32.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.8.3", | ||
"schema-dts": "^1.1.0", | ||
"typescript": "^4.9.4" | ||
}, | ||
|
@@ -80,4 +60,4 @@ | |
"site/src/js/ga.js" | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.