Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
d02cc020
Commit
d02cc020
authored
Sep 14, 2021
by
Francisco Giordano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated prepublish script
parent
bc5c8e2c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
package.json
package.json
+2
-2
prepare-contracts-package.sh
scripts/prepare-contracts-package.sh
+1
-1
No files found.
package.json
View file @
d02cc020
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
"lint:js:fix"
:
"eslint --ignore-path .gitignore . --fix"
,
"lint:js:fix"
:
"eslint --ignore-path .gitignore . --fix"
,
"lint:sol"
:
"solhint 'contracts/**/*.sol' && prettier -c 'contracts/**/*.sol'"
,
"lint:sol"
:
"solhint 'contracts/**/*.sol' && prettier -c 'contracts/**/*.sol'"
,
"lint:sol:fix"
:
"prettier --write
\"
contracts/**/*.sol
\"
"
,
"lint:sol:fix"
:
"prettier --write
\"
contracts/**/*.sol
\"
"
,
"
prepublish"
:
"rimraf build contracts/build artifacts cache
"
,
"
clean"
:
"hardhat clean && rimraf build contracts/build
"
,
"prepare"
:
"env COMPILE_MODE=production npm run compile"
,
"prepare"
:
"
npm run clean &&
env COMPILE_MODE=production npm run compile"
,
"prepack"
:
"scripts/prepack.sh"
,
"prepack"
:
"scripts/prepack.sh"
,
"release"
:
"scripts/release/release.sh"
,
"release"
:
"scripts/release/release.sh"
,
"version"
:
"scripts/release/version.sh"
,
"version"
:
"scripts/release/version.sh"
,
...
...
scripts/prepare-contracts-package.sh
View file @
d02cc020
...
@@ -5,7 +5,7 @@ cd "$(git rev-parse --show-toplevel)"
...
@@ -5,7 +5,7 @@ cd "$(git rev-parse --show-toplevel)"
# avoids re-compilation during publishing of both packages
# avoids re-compilation during publishing of both packages
if
[[
!
-v
ALREADY_COMPILED
]]
;
then
if
[[
!
-v
ALREADY_COMPILED
]]
;
then
npm run
prepublish
npm run
clean
npm run prepare
npm run prepare
npm run prepack
npm run prepack
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment