Skip to content

Commit dca7002

Browse files
committed
fix(ci): No need to for clean when building for CI
1 parent 200f2a1 commit dca7002

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"tonicExampleFilename": "tonic-example.js",
1313
"scripts": {
1414
"clean": "rimraf dist && rimraf browser-dist && rimraf coverage && rimraf out",
15-
"build": "npm run clean && npm run vendor:version && npm run build:dist && npm run build:standalone",
15+
"build:ci": "npm run vendor:version && npm run build:dist && npm run build:standalone",
16+
"build": "npm run clean && npm run build:ci",
1617
"build:dist": "babel lib --out-dir dist",
1718
"build:standalone": "webpack && webpack -p --output-filename contentful.min.js",
1819
"link-dev-deps": "mkdirp node_modules && ln -s ../../contentful-sdk-core/src node_modules/contentful-sdk-core",

0 commit comments

Comments
 (0)