Skip to content

Commit

Permalink
使用 Rollup 构建工具
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-hxl committed Nov 28, 2022
1 parent 7aad303 commit 80c8b65
Show file tree
Hide file tree
Showing 15 changed files with 1,787 additions and 249 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) CoderHXL
Copyright (c) 2022-present, CoderHXL

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 11 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
{
"name": "xl-store",
"version": "0.1.10",
"version": "0.1.11",
"description": "状态管理仓库",
"scripts": {
"build-esm": "node ./script/build.js esm",
"build-cjs": "node ./script/build.js cjs",
"test": "node script/test.js",
"build": "rollup --config rollup.config.mjs",
"test": "rollup --watch --config script/test.mjs",
"build-test": "node test/build-test.js",
"prettier": "prettier --write ."
},
"author": "coderhxl",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-run": "^3.0.1",
"@rollup/plugin-terser": "^0.1.0",
"@types/node": "^18.11.9",
"esbuild": "^0.15.8",
"prettier": "^2.8.0",
"rollup": "^3.5.0",
"rollup-plugin-typescript2": "^0.34.1",
"tslib": "^2.4.1",
"typescript": "^4.9.3"
}
}
Loading

0 comments on commit 80c8b65

Please sign in to comment.