Skip to content

Commit

Permalink
Move postinstall script to sp/package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
juliemturner committed May 5, 2022
1 parent 9946ef4 commit 97f71e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
"serve": "tsc -p ./debug/serve/tsconfig.json && node ./build/server/debug/serve/plumbing/run.js",
"start": "npm run serve",
"test": "tsc -p ./test/tsconfig.json && mocha --verbose --logging",
"test-build": "tsc -p ./test/tsconfig.json",
"postinstall": "node tools/postinstall/script.cjs"
"test-build": "tsc -p ./test/tsconfig.json"
},
"repository": {
"type": "git",
Expand Down
23 changes: 13 additions & 10 deletions packages/sp/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "@pnp/sp",
"version": "0.0.0-PLACEHOLDER",
"description": "pnp - provides a fluent api for working with SharePoint REST",
"main": "./index.js",
"typings": "./index",
"dependencies": {
"tslib": "2.3.1",
"@pnp/core": "0.0.0-PLACEHOLDER",
"@pnp/queryable": "0.0.0-PLACEHOLDER"
}
"name": "@pnp/sp",
"version": "0.0.0-PLACEHOLDER",
"description": "pnp - provides a fluent api for working with SharePoint REST",
"main": "./index.js",
"typings": "./index",
"scripts": {
"postinstall": "node ../../tools/postinstall/script.cjs"
},
"dependencies": {
"tslib": "2.3.1",
"@pnp/core": "0.0.0-PLACEHOLDER",
"@pnp/queryable": "0.0.0-PLACEHOLDER"
}
}

0 comments on commit 97f71e3

Please sign in to comment.