Compare commits

..

3 Commits

Author SHA1 Message Date
Evan Chen 4ebb686b1c build: add npm 2021-10-19 14:26:41 +08:00
Evan Chen 4bcce8ddfd feat: #8, #9, #10 2021-10-19 12:34:01 +08:00
Evan Chen f654cd347c update 2021-10-19 02:38:28 +08:00
17 changed files with 55525 additions and 4 deletions

View File

@ -1 +1,2 @@
dist
node_modules

3
.gitignore vendored
View File

@ -1 +1,4 @@
dist
node_modules
public/css/main.css*
public/js/main.js*

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

BIN
.parcel-cache/data.mdb Normal file

Binary file not shown.

BIN
.parcel-cache/lock.mdb Normal file

Binary file not shown.

6112
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

26
package.json Normal file
View File

@ -0,0 +1,26 @@
{
"name": "configui",
"version": "1.0.0",
"description": "a web app to edit and action on update",
"scripts": {
"build-sass": "sass --style compressed src/main.scss public/css/main.css",
"build-js": "parcel build src/main.js --dist-dir public/js",
"start":"npm run build-sass && npm run build-js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git@kumoly.io:tools/configui.git"
},
"author": "",
"license": "ISC",
"dependencies": {
"bulma": "^0.9.3",
"prismjs": "^1.25.0",
"sass": "^1.43.2"
},
"devDependencies": {
"@parcel/transformer-sass": "^2.0.0",
"parcel": "^2.0.0"
}
}

0
public/css/.gitkeep Normal file
View File

File diff suppressed because one or more lines are too long

0
public/js/.gitkeep Normal file
View File

File diff suppressed because one or more lines are too long

5
src/main.js Normal file
View File

@ -0,0 +1,5 @@
import Prism from "prismjs";
import "prismjs/plugins/custom-class/prism-custom-class";
Prism.plugins.customClass.map({ number: "prism-number", tag: "prism-tag" });

2
src/main.scss Normal file
View File

@ -0,0 +1,2 @@
@charset "utf-8";
@import "../node_modules/bulma/bulma.sass";