2019-04-20 15:36:31 +02:00
|
|
|
_:
|
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:
|
2022-08-27 09:29:38 +02:00
|
|
|
prettier: "npx prettier --write 'src/*.mjs' 'tests/*.mjs'"
|
2022-07-15 12:02:07 +02:00
|
|
|
test: &test 'npx mocha tests/*.test.mjs'
|
2023-07-27 23:57:24 -05:00
|
|
|
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:
|
2022-08-27 09:29:38 +02:00
|
|
|
prettier: "npx prettier --write 'src/*.mjs' 'tests/*.mjs'"
|
2022-02-19 09:48:23 +01:00
|
|
|
test: *test
|
|
|
|
testci: *testci
|
2019-04-20 15:36:31 +02:00
|
|
|
core:
|
2022-09-09 20:20:38 +02:00
|
|
|
report: 'c8 report'
|
|
|
|
test: 'c8 mocha tests/*.test.mjs'
|
2022-11-16 15:19:59 -06:00
|
|
|
testci: 'c8 mocha tests/*.test.mjs'
|
2022-09-09 20:20:38 +02:00
|
|
|
prettier: "npx prettier --write 'src/*.mjs' 'tests/*.mjs'"
|
2022-09-14 16:56:42 +02:00
|
|
|
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'
|
2025-04-01 16:15:20 +02:00
|
|
|
studio:
|
2022-09-15 07:53:35 +02:00
|
|
|
lint: "npx eslint 'lib/*.mjs'"
|
2022-06-21 10:35:56 +02:00
|
|
|
test: '!'
|
|
|
|
testci: '!'
|
2022-10-15 14:33:39 +02:00
|
|
|
rehype-highlight-lines:
|
2022-11-16 15:19:59 -06:00
|
|
|
lint: "npx eslint 'src/*.mjs'"
|
2022-09-15 07:53:35 +02:00
|
|
|
rehype-jargon:
|
|
|
|
lint: "npx eslint 'src/*.mjs'"
|
|
|
|
snapseries:
|
|
|
|
lint: "npx eslint 'src/*.mjs'"
|
2025-04-01 16:15:20 +02:00
|
|
|
react:
|
2023-06-07 10:06:30 -05:00
|
|
|
lint: "eslint 'src/**/*.mjs'"
|
2022-12-17 16:48:36 +01:00
|
|
|
|
|
|
|
# Sites go here
|
2022-09-15 07:53:35 +02:00
|
|
|
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'
|
|
|
|
|
2025-04-01 16:15:20 +02:00
|
|
|
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'
|
|
|
|
|
2025-04-01 16:15:20 +02:00
|
|
|
org: *docusaurus
|
2023-09-29 08:05:40 +02:00
|
|
|
|