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-06-14 23:30:00 +02:00
|
|
|
test: ¬ests 'echo "{{name}}: No tests configured. Perhaps you''d like to do this?" && exit 0'
|
2022-08-29 17:41:00 +02:00
|
|
|
vbuild: 'VERBOSE=1 node build.mjs'
|
2022-06-17 14:12:46 +02:00
|
|
|
lab: "cd ../../sites/lab && yarn start"
|
2022-06-17 18:23:17 +02:00
|
|
|
tips: "node ../../scripts/help.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'
|
|
|
|
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'
|
|
|
|
testci: "mocha tests/*.test.mjs"
|
|
|
|
prettier: "npx prettier --write 'src/*.mjs' 'tests/*.mjs'"
|
2019-05-03 13:47:29 +02:00
|
|
|
i18n:
|
2022-07-20 13:10:54 -04:00
|
|
|
prebuild: 'node scripts/prebuilder.mjs'
|
2022-02-19 09:48:23 +01:00
|
|
|
test: *test
|
|
|
|
testci: *testci
|
2022-08-28 19:51:15 +02:00
|
|
|
models:
|
|
|
|
test: "npx mocha tests/*.test.mjs"
|
2022-06-21 10:35:56 +02:00
|
|
|
new-design:
|
2022-08-29 17:41:00 +02:00
|
|
|
build: "SITE=new-design/shared node ../../sites/shared/prebuild/i18n-only.mjs && cp ../../scripts/banner.mjs ./lib && node build.mjs"
|
2022-06-21 10:35:56 +02:00
|
|
|
mbuild: '!'
|
|
|
|
test: '!'
|
|
|
|
testci: '!'
|
|
|
|
vbuild: '!'
|