This commit is contained in:
2026-04-29 19:04:20 +08:00
parent df60e8dd42
commit 07d11a15af
58 changed files with 3937 additions and 520 deletions
+32 -27
View File
@@ -1,12 +1,13 @@
{
"name": "underscores",
"version": "1.0.0",
"description": "Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.",
"author": "Automattic Theme Team",
"name": "cyywordpress",
"version": "2.0.0",
"description": "CyyWordpress a modern WordPress theme built on Bulma 1.x and Underscores.",
"author": "Chuyaoyuan",
"license": "GPL-2.0-or-later",
"keywords": [
"WordPress",
"Theme"
"Theme",
"Bulma"
],
"homepage": "https://github.com/Automattic/_s#readme",
"repository": {
@@ -17,30 +18,34 @@
"url": "https://github.com/Automattic/_s/issues"
},
"devDependencies": {
"@wordpress/scripts": "^12.1.0",
"@fortawesome/fontawesome-free": "^6.5.2",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@wordpress/eslint-plugin": "^21.0.0",
"@wordpress/scripts": "^30.0.0",
"autoprefixer": "^10.4.19",
"bulma": "^1.0.2",
"cssnano": "^7.0.0",
"dir-archiver": "^1.1.1",
"node-sass": "^4.14.1",
"rtlcss": "^2.5.0"
},
"rtlcssConfig": {
"options": {
"autoRename": false,
"autoRenameStrict": false,
"blacklist": {},
"clean": true,
"greedy": false,
"processUrls": false,
"stringMap": []
},
"plugins": [],
"map": false
"eslint": "^8.57.0",
"postcss": "^8.4.38",
"rtlcss": "^4.3.0",
"sass": "^1.77.0",
"stylelint": "^16.6.0",
"stylelint-config-standard-scss": "^14.0.0",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vite-plugin-sass-glob-import": "^1.0.0"
},
"scripts": {
"watch": "node-sass sass/ -o ./ --source-map true --output-style expanded --indent-type tab --indent-width 1 -w",
"compile:css": "node-sass sass/ -o ./ && stylelint '*.css' --fix || true && stylelint '*.css' --fix",
"compile:rtl": "rtlcss style.css style-rtl.css",
"lint:scss": "wp-scripts lint-style 'sass/**/*.scss'",
"lint:js": "wp-scripts lint-js 'js/*.js'",
"bundle": "dir-archiver --src . --dest ../_s.zip --exclude .DS_Store .stylelintrc.json .eslintrc .git .gitattributes .github .gitignore README.md composer.json composer.lock node_modules vendor package-lock.json package.json .travis.yml phpcs.xml.dist sass style.css.map"
"dev": "vite",
"build": "vite build",
"build:rtl": "rtlcss assets/css/main.css assets/css/main-rtl.css",
"lint": "eslint 'src/**/*.{ts,js}' && stylelint 'scss/**/*.scss'",
"lint:js": "wp-scripts lint-js 'src/**/*.ts'",
"lint:scss": "stylelint 'scss/**/*.scss'",
"type-check": "tsc --noEmit",
"bundle": "dir-archiver --src . --dest ../cyywordpress.zip --exclude .DS_Store .stylelintrc.json .eslintrc.json .git .gitattributes .github .gitignore composer.json composer.lock node_modules vendor package-lock.json package.json phpcs.xml.dist scss src tsconfig.json vite.config.ts postcss.config.js"
}
}