mirror of
https://github.com/primer/css.git
synced 2024-12-23 22:24:11 +03:00
publish: fix paths to dist files, nix script/server
This commit is contained in:
parent
59ab08aeee
commit
40db235ff4
@ -5,9 +5,9 @@
|
|||||||
"homepage": "http://primer.github.io/",
|
"homepage": "http://primer.github.io/",
|
||||||
"author": "GitHub, Inc.",
|
"author": "GitHub, Inc.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"style": "build/build.css",
|
"style": "dist/primer.css",
|
||||||
"sass": "index.scss",
|
"sass": "index.scss",
|
||||||
"main": "build/index.js",
|
"main": "dist/primer.js",
|
||||||
"repository": "https://github.com/primer/css",
|
"repository": "https://github.com/primer/css",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/primer/css/issues"
|
"url": "https://github.com/primer/css/issues"
|
||||||
@ -31,7 +31,7 @@
|
|||||||
"prepublishOnly": "script/prepublish",
|
"prepublishOnly": "script/prepublish",
|
||||||
"postpublish": "script/postpublish",
|
"postpublish": "script/postpublish",
|
||||||
"publish-storybook": "npm run storybook && gh-pages -d build -b gh-pages -r https://github.com/primer/storybook",
|
"publish-storybook": "npm run storybook && gh-pages -d build -b gh-pages -r https://github.com/primer/storybook",
|
||||||
"start": "script/server",
|
"start": "next dev",
|
||||||
"start-storybook": "start-storybook -p 8000 -c .storybook",
|
"start-storybook": "start-storybook -p 8000 -c .storybook",
|
||||||
"sync": "script/sync",
|
"sync": "script/sync",
|
||||||
"test": "npm-run-all -s test-jest test-urls",
|
"test": "npm-run-all -s test-jest test-urls",
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [[ "$NODE_ENV" = "production" ]]; then
|
|
||||||
npx next
|
|
||||||
else
|
|
||||||
npx next dev
|
|
||||||
fi
|
|
Loading…
Reference in New Issue
Block a user