You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

47 lines
1.6 KiB

{
"name": "blogging-next",
"version": "1.0.0",
"description": "A Blog Platform who running at Browser",
"main": "src/js/index.js",
"type": "module",
"private": true,
"scripts": {
"dev": "yarn build:plugins;yarn dev:blogging",
"dev:blogging": "snowpack dev",
"build": "yarn clean;yarn package:plugins;yarn build:blogging",
"build:plugins": "lerna exec --scope @blogging/plugin-* \"yarn build;\"",
"build:blogging": "snowpack build;cp examples/config.json build/config.json",
"package": "yarn clean;yarn package:blogging",
"package:plugins": "yarn run build:plugins;node src/builder/bundler.js > src/plugins/bundle.js;minify src/plugins/bundle.js > src/plugins/bundle.prod.js",
"package:blogging": "yarn build;mkdir dist;tar -czvf ./dist/blogging-master.tar.gz ./build",
"package:web": "yarn build;http-server -p8080 build;yarn clean",
"format": "prettier --write \"*[^build]/**/*[^prod][^bundle][email protected](css|js|html|json)\"",
"clean": "rm -rf ./dist/ ./build/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/blogging-project/blogging-next.git"
},
"keywords": [
"Blogging"
],
"author": "186526 <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/blogging-project/blogging-next/issues"
},
"workspaces": [
"src/core",
"src/plugins/*"
],
"devDependencies": {
"@snowpack/plugin-webpack": "^2.1.1",
"http-server": "^0.12.3",
"lerna": "^3.22.1",
"minify": "^6.0.1",
"prettier": "^2.1.2",
"snowpack": "^2.16.1",
"yarn": "^1.22.10"
},
"dependencies": {}
}