mirror of
https://github.com/alexgo-io/stacks.js.git
synced 2026-01-12 22:52:34 +08:00
* chore: update webpack configs * feat!: move browsers to polyfilled umd bundle * chore: bootstrap * chore: update lerna * chore: bootstrap * chore: fix lerna warnings * chore: cleanup * chore: remove non-fallbacks * chore: add missing polyfill * chore: fix remaining builds * chore: update build scripts * chore: update package * chore: umd2 to umd * chore: test global this * chore: test umd bundling with vue * build: update shared webpack config for umd * build: fix dist path * wip ded :( works, almost * wip it fking works! * reduce to minimum required * give up on vite :( * update configs * update configs * rename scripts * delete vite esbuild inherits * add readme * add build step * remove inline poly * remove unneeded packages * update packages * add missing export (required by wallet-web) * bootstrap * consistentize naming * every kb counts * docs: add notes on package types Co-authored-by: janniks <janniks@users.noreply.github.com>
89 lines
2.9 KiB
JSON
89 lines
2.9 KiB
JSON
{
|
|
"name": "stacks.js",
|
|
"version": "1.4.1",
|
|
"private": true,
|
|
"prettier": "@stacks/prettier-config",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/hirosystems/stacks.js.git"
|
|
},
|
|
"workspaces": [
|
|
"packages/**"
|
|
],
|
|
"release": {
|
|
"branches": [
|
|
"master"
|
|
],
|
|
"plugins": [
|
|
"@semantic-release/commit-analyzer",
|
|
"@semantic-release/release-notes-generator",
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"npmPublish": false
|
|
}
|
|
],
|
|
"@semantic-release/changelog",
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": [
|
|
"docs"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-alias": "^3.1.9",
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
"@rollup/plugin-inject": "^4.0.4",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
"@rollup/plugin-replace": "^3.1.0",
|
|
"@rollup/plugin-typescript": "^8.3.0",
|
|
"@stacks/eslint-config": "^1.2.0",
|
|
"@stacks/prettier-config": "^0.0.10",
|
|
"@strictsoftware/typedoc-plugin-monorepo": "^0.4.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
"@typescript-eslint/parser": "^5.11.0",
|
|
"assert": "^2.0.0",
|
|
"esbuild": "^0.14.23",
|
|
"esbuild-loader": "^2.18.0",
|
|
"eslint": "^8.8.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"lerna": "^4.0.0",
|
|
"madge": "^5.0.1",
|
|
"path-browserify": "^1.0.1",
|
|
"prettier": "^2.5.1",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.67.3",
|
|
"rollup-plugin-node-globals": "^1.4.0",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"stream-http": "^3.2.0",
|
|
"typedoc": "^0.20.35",
|
|
"typescript": "^4.2.4",
|
|
"vite-compatible-readable-stream": "^3.6.0"
|
|
},
|
|
"scripts": {
|
|
"bootstrap": "lerna bootstrap",
|
|
"build": "lerna run build",
|
|
"build:docs": "rimraf docs && typedoc --name \"Stacks.js $npm_package_version Library Reference\" --readme ./readme.md --tsconfig tsconfig.typedoc.json --out docs --json docs/docs.json packages/**/src/index.ts",
|
|
"clean": "lerna clean",
|
|
"lerna": "lerna",
|
|
"lint": "npm run lint:eslint && npm run lint:prettier",
|
|
"lint:eslint": "eslint \"packages/**/src/**/*.{ts,tsx|!(d.ts)}\" -f unix",
|
|
"lint:fix": "eslint \"packages/**/src/**/*.{ts,tsx}\" -f unix --fix",
|
|
"pack": "lerna run pack",
|
|
"lint:eslint:fix": "eslint \"packages/**/src/**/*.{ts,tsx}\" -f unix --fix",
|
|
"lint:prettier": "prettier --check \"packages/**/src/**/*.{ts,tsx|!(d.ts)}\" *.js --ignore-path .gitignore",
|
|
"lint:prettier:fix": "prettier --write \"packages/**/src/**/*.{ts,tsx|!(d.ts)}\" *.js --ignore-path .gitignore",
|
|
"test": "lerna run test",
|
|
"typecheck": "lerna run typecheck --parallel --no-bail --stream",
|
|
"madge": "madge --circular --extensions ts --exclude 'd.ts' packages/"
|
|
}
|
|
}
|