Skip to content

Commit 988cf88

Browse files
committed
chore: revamp dev dep tasks
1 parent dca7002 commit 988cf88

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "contentful",
3+
"version": "1.0.0-determined-by-semantic-release",
34
"description": "Client for Contentful's Content Delivery API",
45
"homepage": "https://www.contentful.com/developers/documentation/content-delivery-api/",
56
"main": "index.js",
@@ -16,8 +17,6 @@
1617
"build": "npm run clean && npm run build:ci",
1718
"build:dist": "babel lib --out-dir dist",
1819
"build:standalone": "webpack && webpack -p --output-filename contentful.min.js",
19-
"link-dev-deps": "mkdirp node_modules && ln -s ../../contentful-sdk-core/src node_modules/contentful-sdk-core",
20-
"unlink-dev-deps": "rimraf node_modules/contentful-sdk-core",
2120
"docs:build": "jsdoc -r -c ./jsdoc.json dist",
2221
"docs:dev": "npm run build && npm run docs:build",
2322
"docs:watch": "watchy -w lib npm run docs:dev",
@@ -35,7 +34,11 @@
3534
"postpublish": "npm run docs:publish && npm run clean",
3635
"pretest": "standard lib/*.js && standard lib/**/*.js && standard test/**/*.js",
3736
"test": "npm run test:cover && npm run test:integration && npm run test:browser-local",
38-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
37+
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
38+
"devdep:build": "pushd ../contentful-sdk-core && npm run build && popd",
39+
"devdep:clean": "pushd ../contentful-sdk-core && npm run clean && popd",
40+
"devdep:install": "npm run devdep:build && rm -rf node_modules/contentful-sdk-core && npm install ../contentful-sdk-core && npm run devdep:clean",
41+
"devdep:uninstall": "npm run devdep:clean && rimraf node_modules/contentful-sdk-core"
3942
},
4043
"browser": "./browser.js",
4144
"files": [

0 commit comments

Comments
 (0)