-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
405 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: node | ||
- run: npm install | ||
- run: npm test | ||
- uses: JamesIves/github-pages-deploy-action@releases/v4 | ||
with: | ||
branch: gh-pages | ||
commit-message: . | ||
folder: dest | ||
git-config-email: [email protected] | ||
git-config-name: Titus Wormer | ||
single-commit: true | ||
name: main | ||
on: | ||
push: | ||
branches: | ||
- website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
.DS_Store | ||
*.log | ||
node_modules/ | ||
dest/ | ||
node_modules/ | ||
*.d.ts | ||
*.log | ||
*.map | ||
*.tsbuildinfo | ||
.DS_Store | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
ignore-scripts=true | ||
package-lock=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
dest/ | ||
*.html | ||
*.md |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
(The MIT License) | ||
|
||
Copyright (c) 2014 Titus Wormer <[email protected]> | ||
Copyright (c) Titus Wormer <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,44 @@ | ||
{ | ||
"name": "www-retext-pos", | ||
"private": true, | ||
"license": "MIT", | ||
"repository": "retextjs/retext-pos", | ||
"bugs": "https://github.com/retextjs/retext-pos/issues", | ||
"author": "Titus Wormer <[email protected]> (https://wooorm.com)", | ||
"contributors": [ | ||
"Titus Wormer <[email protected]> (https://wooorm.com)" | ||
], | ||
"devDependencies": { | ||
"browserify": "^16.0.0", | ||
"cssnano": "^4.0.0", | ||
"debounce": "^1.0.0", | ||
"global": "^4.4.0", | ||
"postcss-cli": "^6.0.0", | ||
"postcss-preset-env": "^6.6.0", | ||
"prettier": "^1.0.0", | ||
"rehype-cli": "^8.0.0", | ||
"rehype-preset-minify": "^4.0.0", | ||
"rehype-prevent-favicon-request": "^2.0.0", | ||
"remark-cli": "^7.0.0", | ||
"remark-preset-wooorm": "^6.0.0", | ||
"retext-english": "^3.0.0", | ||
"retext-pos": "^2.0.0", | ||
"stylelint": "^11.0.0", | ||
"stylelint-config-standard": "^19.0.0", | ||
"tinyify": "^2.0.0", | ||
"unified": "^8.0.0", | ||
"virtual-dom": "^2.1.1", | ||
"xo": "^0.25.0" | ||
}, | ||
"scripts": { | ||
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix && stylelint src/index.css --fix", | ||
"build:js": "browserify src -p tinyify -o dest/index.js", | ||
"build:css": "postcss src/index.css -o dest/index.css", | ||
"build:html": "rehype -u preset-minify -u prevent-favicon-request src -o dest", | ||
"build": "npm run build:js && npm run build:css && npm run build:html", | ||
"test": "npm run format && npm run build" | ||
}, | ||
"prettier": { | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"singleQuote": true, | ||
"bracketSpacing": false, | ||
"semi": false, | ||
"trailingComma": "none" | ||
}, | ||
"xo": { | ||
"prettier": true, | ||
"esnext": false, | ||
"rules": { | ||
"unicorn/prefer-node-append": "off" | ||
} | ||
}, | ||
"stylelint": { | ||
"extends": "stylelint-config-standard" | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not ie <= 8" | ||
], | ||
"bugs": "https://github.com/retextjs/retext-pos/issues", | ||
"contributors": [ | ||
"Titus Wormer <[email protected]> (https://wooorm.com)" | ||
], | ||
"devDependencies": { | ||
"@types/nlcst": "^2.0.0", | ||
"@types/react": "^18.0.0", | ||
"@types/react-dom": "^18.0.0", | ||
"cssnano": "^7.0.0", | ||
"devlop": "^1.0.0", | ||
"esbuild": "^0.24.0", | ||
"postcss-cli": "^11.0.0", | ||
"postcss-preset-env": "^10.0.0", | ||
"prettier": "^3.0.0", | ||
"react": "^18.0.0", | ||
"react-dom": "^18.0.0", | ||
"rehype-cli": "^12.0.0", | ||
"rehype-preset-minify": "^7.0.0", | ||
"rehype-prevent-favicon-request": "^4.0.0", | ||
"remark-cli": "^12.0.0", | ||
"remark-preset-wooorm": "^10.0.0", | ||
"retext-english": "^5.0.0", | ||
"retext-pos": "^5.0.0", | ||
"retext-stringify": "^4.0.0", | ||
"stylelint": "^16.0.0", | ||
"stylelint-config-standard": "^36.0.0", | ||
"type-coverage": "^2.0.0", | ||
"typescript": "^5.0.0", | ||
"unified": "^11.0.0", | ||
"vfile": "^6.0.0", | ||
"xo": "^0.59.0" | ||
}, | ||
"license": "MIT", | ||
"name": "www-retext-pos", | ||
"postcss": { | ||
"plugins": { | ||
"postcss-preset-env": {}, | ||
|
@@ -69,9 +47,41 @@ | |
} | ||
} | ||
}, | ||
"prettier": { | ||
"bracketSpacing": false, | ||
"semi": false, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"trailingComma": "none", | ||
"useTabs": false | ||
}, | ||
"private": true, | ||
"remarkConfig": { | ||
"plugins": [ | ||
"preset-wooorm" | ||
"remark-preset-wooorm" | ||
] | ||
}, | ||
"repository": "retextjs/retext-pos", | ||
"typeCoverage": { | ||
"atLeast": 100, | ||
"strict": true | ||
}, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsc --build --clean && tsc --build && type-coverage", | ||
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo && stylelint src/index.css --fix", | ||
"generate:css": "postcss --output dest/index.css -- src/index.css", | ||
"generate:html": "rehype --frail --output dest/ --quiet --use rehype-preset-minify --use rehype-prevent-favicon-request -- src/", | ||
"generate:js:module": "esbuild src/index.jsx --bundle --conditions=browser,production --define:process.env.NODE_ENV=\\\"production\\\" --format=esm --loader:.js=jsx --log-level=warning --minify --outfile=dest/index.module.js --target=es2020", | ||
"generate:js:nomodule": "esbuild src/index.jsx --bundle --conditions=browser,production --define:process.env.NODE_ENV=\\\"production\\\" --loader:.js=jsx --log-level=warning --minify --outfile=dest/index.nomodule.js --target=es6", | ||
"generate:js": "npm run generate:js:module && npm run generate:js:nomodule", | ||
"generate": "npm run generate:css && npm run generate:html && npm run generate:js", | ||
"test": "npm run build && npm run format && npm run generate" | ||
}, | ||
"stylelint": { | ||
"extends": "stylelint-config-standard" | ||
}, | ||
"xo": { | ||
"prettier": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.