1
0
Fork 0
freesewing/config/scripts.yaml

59 lines
1.7 KiB
YAML
Raw Normal View History

_:
2020-08-08 17:20:08 +02:00
symlink: 'mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -'
2022-09-15 13:49:55 +02:00
test: 'echo "{{name}}: No tests configured. Perhaps you could write some?" && exit 0'
tips: 'node ../../scripts/help.mjs'
2022-09-15 10:23:06 +02:00
lint: "npx eslint 'src/**' 'tests/*.mjs'"
2019-05-31 16:33:01 +02:00
_types:
2025-04-21 18:20:52 +02:00
designs:
prettier: "npx prettier --write 'src/*.mjs' 'tests/*.mjs'"
2022-07-15 12:02:07 +02:00
test: &test 'npx mocha tests/*.test.mjs'
testci: &testci 'NODE_OPTIONS="--conditions=internal" npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js'
2025-04-21 18:20:52 +02:00
plugins:
prettier: "npx prettier --write 'src/*.mjs' 'tests/*.mjs'"
test: *test
testci: *testci
core:
report: 'c8 report'
test: 'c8 mocha tests/*.test.mjs'
2022-11-16 15:19:59 -06:00
testci: 'c8 mocha tests/*.test.mjs'
prettier: "npx prettier --write 'src/*.mjs' 'tests/*.mjs'"
lint: "npx eslint 'src/*.mjs' 'tests/*.mjs'"
2022-10-08 04:03:01 +02:00
jsdoc: 'jsdoc -c jsdoc.json -r src'
2022-08-28 19:51:15 +02:00
models:
2022-09-15 13:49:55 +02:00
test: 'npx mocha tests/*.test.mjs'
studio:
lint: "npx eslint 'lib/*.mjs'"
test: '!'
testci: '!'
rehype-highlight-lines:
2022-11-16 15:19:59 -06:00
lint: "npx eslint 'src/*.mjs'"
rehype-jargon:
lint: "npx eslint 'src/*.mjs'"
snapseries:
lint: "npx eslint 'src/*.mjs'"
react:
2023-06-07 10:06:30 -05:00
lint: "eslint 'src/**/*.mjs'"
2022-12-17 16:48:36 +01:00
# Sites go here
backend:
2022-12-17 16:48:36 +01:00
dev: 'nodemon src/index.mjs'
initdb: 'npx prisma db push'
newdb: 'node ./scripts/newdb.mjs'
prettier: "npx prettier --write 'src/*.mjs' 'tests/*.mjs'"
rmdb: 'node ./scripts/rmdb.mjs'
test: 'npx mocha --require mocha-steps tests/index.mjs'
dev: &docusaurus
build: 'docusaurus build'
dev: 'docusaurus start'
lint: 'docusuaurus lint'
prebuild: 'node --conditions=internal --experimental-json-modules ./prebuild.mjs'
start: 'docusaurus start'
2022-12-17 16:48:36 +01:00
email:
build: 'maizzle build production'
dev: 'maizzle serve'
org: *docusaurus
2023-09-29 08:05:40 +02:00