2019-04-20 15:36:31 +02:00
|
|
|
_:
|
2022-08-29 17:41:00 +02:00
|
|
|
build: 'node build.mjs'
|
2020-08-08 17:20:08 +02:00
|
|
|
clean: 'rimraf dist'
|
2022-08-29 17:41:00 +02:00
|
|
|
mbuild: 'NO_MINIFY=1 node build.mjs'
|
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'
|
2022-08-29 17:41:00 +02:00
|
|
|
vbuild: 'VERBOSE=1 node build.mjs'
|
2022-09-15 13:49:55 +02:00
|
|
|
lab: 'cd ../../sites/lab && yarn start'
|
|
|
|
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:
|
2022-06-16 17:11:31 +02:00
|
|
|
design:
|
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'
|
2022-09-15 13:49:55 +02:00
|
|
|
testci: &testci 'npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js'
|
2021-11-21 16:08:07 +01:00
|
|
|
plugin:
|
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'
|
2019-05-03 13:47:29 +02:00
|
|
|
i18n:
|
2022-07-20 13:10:54 -04:00
|
|
|
prebuild: 'node scripts/prebuilder.mjs'
|
2022-08-28 19:51:15 +02:00
|
|
|
models:
|
2022-09-15 13:49:55 +02:00
|
|
|
test: 'npx mocha tests/*.test.mjs'
|
2022-06-21 10:35:56 +02:00
|
|
|
new-design:
|
2022-11-29 17:57:03 -06:00
|
|
|
i18n-only: 'SITE="new-design/shared" node ../../sites/shared/prebuild/i18n-only.mjs'
|
2022-10-08 04:03:01 +02:00
|
|
|
build: '!'
|
|
|
|
wbuild: '!'
|
2022-09-15 07:53:35 +02:00
|
|
|
lint: "npx eslint 'lib/*.mjs'"
|
2022-06-21 10:35:56 +02:00
|
|
|
mbuild: '!'
|
|
|
|
test: '!'
|
|
|
|
testci: '!'
|
|
|
|
vbuild: '!'
|
2022-10-15 14:33:39 +02:00
|
|
|
rehype-highlight-lines:
|
|
|
|
build: '!'
|
|
|
|
mbuild: '!'
|
|
|
|
vbuild: '!'
|
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'"
|
|
|
|
backend:
|
2022-09-15 13:49:55 +02:00
|
|
|
lint: '!'
|