-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (26 loc) · 827 Bytes
/
Makefile
File metadata and controls
33 lines (26 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
install:
@NODE_OPTIONS='' npm install
build:
@echo 'building from ./tsconfig.app.json'
@NODE_OPTIONS='' ./node_modules/.bin/tsc --project ./tsconfig.app.json
lint--tsc:
@echo 'running syntax check'
@NODE_OPTIONS='' ./node_modules/.bin/tsc --project ./tsconfig.app-check.json
lint--prettier:
@echo 'running prettier'
@./node_modules/.bin/prettier . --check
lint--eslint:
@echo 'checking eslint for all issues'
@./node_modules/.bin/eslint \
--cache-location ./.eslintcache \
--cache-strategy content \
--cache \
'./*.ts' lib
lint: lint--prettier lint--tsc lint--eslint
png: build
@echo 'creating png'
@./node_modules/.bin/ts-node ./png.ts
npm-prep: tests
@echo 'building from ./tsconfig.app-npm.json'
@NODE_OPTIONS='' ./node_modules/.bin/tsc --project ./tsconfig.app-npm.json
@npm publish --dry-run