change yarn to pnpm
This commit is contained in:
parent
9343f286b2
commit
8466928c17
5 changed files with 1286 additions and 1883 deletions
|
@ -1,4 +1,3 @@
|
|||
module.exports = {
|
||||
printWidth: 100,
|
||||
singleQuote: true,
|
||||
};
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
module.exports = {
|
||||
extends: [
|
||||
'stylelint-config-standard',
|
||||
'stylelint-config-recess-order',
|
||||
'stylelint-config-prettier',
|
||||
],
|
||||
extends: ['stylelint-config-one'],
|
||||
rules: {
|
||||
'no-descending-specificity': null,
|
||||
'custom-property-empty-line-before': null,
|
||||
'rule-empty-line-before': ['always', { ignore: ['after-comment', 'first-nested'] }],
|
||||
// 'no-descending-specificity': null,
|
||||
},
|
||||
};
|
||||
|
|
14
package.json
14
package.json
|
@ -6,18 +6,16 @@
|
|||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"server": "hugo server -Dw --minify --disableFastRender --themesDir=../.. --source=exampleSite --bind=0.0.0.0",
|
||||
"serve": "hugo server --baseURL=http://0.0.0.0 --bind=0.0.0.0 --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite",
|
||||
"open": "open http://0.0.0.0:1313/",
|
||||
"go": "cp exampleSite/go.default.mod exampleSite/go.mod",
|
||||
"site": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml",
|
||||
"dev": "yarn open & yarn server",
|
||||
"build": "yarn go & yarn site"
|
||||
"dev": "pnpm serve & pnpm open",
|
||||
"build": "pnpm go & pnpm site"
|
||||
},
|
||||
"dependencies": {
|
||||
"prettier": "^2.3.2",
|
||||
"stylelint": "^13.13.1",
|
||||
"stylelint-config-prettier": "^8.0.2",
|
||||
"stylelint-config-recess-order": "^2.5.0",
|
||||
"stylelint-config-standard": "^22.0.0"
|
||||
"prettier": "^2.7.1",
|
||||
"stylelint": "^14.9.1",
|
||||
"stylelint-config-one": "^2.2.0"
|
||||
}
|
||||
}
|
||||
|
|
1278
pnpm-lock.yaml
Normal file
1278
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue