Skip to content

Commit

Permalink
fix: simplify, go build-less
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Jan 28, 2023
1 parent ff7ca29 commit 3e1f664
Show file tree
Hide file tree
Showing 13 changed files with 4,895 additions and 4,762 deletions.
40 changes: 10 additions & 30 deletions package.json
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",
Expand All @@ -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"
},
Expand Down Expand Up @@ -80,4 +60,4 @@
"site/src/js/ga.js"
]
}
}
}
Loading

0 comments on commit 3e1f664

Please sign in to comment.