File: Makefile

package info (click to toggle)
node-postcss-modules 6.0.1%2B~cs5.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,260 kB
  • sloc: javascript: 826; makefile: 22
file content (22 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
BUILD_DIR	= ./build

.PHONY: clean lint test build publish pack

clean:
	rm -rf $(BUILD_DIR) *.tgz

lint:
	npx eslint src test

test: lint
	npx jest

build: clean test
	npx babel src -d $(BUILD_DIR)

publish: build
	npm publish ./
	git push --follow-tags

pack: build
	npm pack