mirror of
https://github.com/primer/css.git
synced 2024-08-17 12:10:33 +03:00
create pretest script
This commit is contained in:
parent
ddeb5b52d3
commit
2e9f7c4ed6
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@ node_modules/
|
||||
public/
|
||||
searchIndex.js
|
||||
package-lock.json
|
||||
tmp
|
||||
|
@ -13,3 +13,4 @@ pages/
|
||||
script/
|
||||
# we ignore this because everything in src/ is copied out in script/prepublish
|
||||
src/
|
||||
tmp/
|
||||
|
@ -29,7 +29,7 @@
|
||||
"dev": "cd docs && npm install && npm run develop",
|
||||
"start-storybook": "start-storybook -p 8001",
|
||||
"build-storybook": "build-storybook -o .storybuild",
|
||||
"pretest": "yarn dist && npm i --no-save @primer/css",
|
||||
"pretest": "yarn dist && script/pretest",
|
||||
"test": "jest",
|
||||
"test-deprecations": "script/test-deprecations.js",
|
||||
"release": "changeset publish"
|
||||
|
7
script/pretest
Executable file
7
script/pretest
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
mkdir -p tmp
|
||||
cd tmp
|
||||
echo "{\"package\":\"tmp\",\"version\":\"0.0.0\"}" > package.json
|
||||
yarn add @primer/css
|
Loading…
Reference in New Issue
Block a user