File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ TESTS = $(wildcard test/*.js)
44BINS = node_modules/.bin
55MINIFY = $(BINS ) /uglifyjs
66JSDOC = $(BINS ) /jsdoc
7- PRETTIER = $(BINS ) /prettier
8- ESLINT = $(BINS ) /eslint
97BUILD_DIR = build
108PROJECT = amplitude
119OUT = $(PROJECT ) .js
@@ -66,10 +64,8 @@ README.md: $(SNIPPET_OUT) version
6664#
6765
6866$(OUT ) : node_modules $(SRC ) package.json rollup.config.js rollup.min.js rollup.native.js rollup.esm.js rollup.umd.js rollup.umd.min.js
69- @$(PRETTIER ) --check $(SRC )
70- @$(ESLINT ) $(SRC )
7167 @NODE_ENV=production $(ROLLUP ) --config rollup.config.js # is the snippet build config
72- @NODE_ENV=production $(ROLLUP ) --config rollup.esm.js # does not concat dependencies, only has module and dependencies
68+ @NODE_ENV=production $(ROLLUP ) --config rollup.esm.js # does not concat dependencies, only has module and dependencies
7369 @NODE_ENV=production $(ROLLUP ) --config rollup.umd.js # generates npm version, also usable in require js app
7470 @NODE_ENV=production $(ROLLUP ) --config rollup.native.js # generates react native build
7571 @NODE_ENV=production $(ROLLUP ) --config rollup.nocompat.js # may be able to remove
@@ -81,8 +77,6 @@ $(OUT): node_modules $(SRC) package.json rollup.config.js rollup.min.js rollup.n
8177# Target for minified `amplitude-snippet.js` file.
8278#
8379$(SNIPPET_OUT ) : $(SRC ) $(SNIPPET )
84- @$(PRETTIER ) --check $(SRC )
85- @$(ESLINT ) $(SRC )
8680 @$(MINIFY ) $(SNIPPET ) -m -b max-line-len=80,beautify=false | awk ' NF' > $(SNIPPET_OUT )
8781
8882$(SEGMENT_SNIPPET_OUT ) : $(SRC ) $(SNIPPET )
You can’t perform that action at this time.
0 commit comments