blob: 3b0c34a4da628873b840b75a31a29ed614d06c8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
build: get_deps
mkdir -p dist
cp src/index.html dist/index.html
cp src/index.js dist/index.js
cp node_modules/@dimforge/rapier2d-compat/rapier.es.js dist/rapier.es.js
run: build
npx http-server dist/
format: get_deps
npx prettier . --write
check: get_deps
npx prettier . --check
get_deps:
npm ci --include=dev --fund=false
clean:
rm -rf dist node_modules
|