Skip to content

Commit

Permalink
🔖
Browse files Browse the repository at this point in the history
  • Loading branch information
nanarino committed Oct 3, 2023
1 parent d840763 commit 21d157d
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 7 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 *ななり ☘

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
# 运行开发服务器
pnpm dev

# 从npm引入
pnpm i nanarinostyl
# 再在js中 import 'nanarinostyl'
# 抑或是 import 'nanarinostyl/src/lib/index.styl'


构建
======
Expand Down
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "nanarinostyl",
"author": "",
"license": "MIT",
"version": "0.0.0",
"type": "module",
"version": "0.0.1",
"main": "./dist/index.css",
"scripts": {
"dev": "astro dev --host",
"start": "astro dev",
"build-docs": "astro build",
"build-stylus": "stylus ./src/lib/index.styl --out ./dist",
"build-stylus": "rma ./dist && stylus ./src/lib/index.styl --out ./dist",
"build-gh-pages": "astro build --base /nanarinostyl/",
"preview": "astro preview"
},
Expand All @@ -21,6 +21,11 @@
"stylus": "^0.59.0"
},
"devDependencies": {
"@types/node": "^20.5.1"
}
"@types/node": "^20.5.1",
"rm-all": "^1.1.1"
},
"files": [
"dist",
"src/lib"
]
}
96 changes: 94 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 21d157d

Please sign in to comment.