1
1
mirror of https://github.com/primer/css.git synced 2024-11-12 22:06:08 +03:00

publish: fix paths to dist files, nix script/server

This commit is contained in:
Shawn Allen 2019-02-04 15:57:37 -08:00
parent 59ab08aeee
commit 40db235ff4
2 changed files with 3 additions and 10 deletions

View File

@ -5,9 +5,9 @@
"homepage": "http://primer.github.io/",
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"style": "dist/primer.css",
"sass": "index.scss",
"main": "build/index.js",
"main": "dist/primer.js",
"repository": "https://github.com/primer/css",
"bugs": {
"url": "https://github.com/primer/css/issues"
@ -31,7 +31,7 @@
"prepublishOnly": "script/prepublish",
"postpublish": "script/postpublish",
"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",
"sync": "script/sync",
"test": "npm-run-all -s test-jest test-urls",

View File

@ -1,7 +0,0 @@
#!/bin/bash
if [[ "$NODE_ENV" = "production" ]]; then
npx next
else
npx next dev
fi