|
1 | 1 | {
|
2 | 2 | "name": "@codesandbox/components",
|
3 |
| - "version": "1.0.8", |
| 3 | + "version": "0.0.1", |
4 | 4 | "repository": {
|
5 | 5 | "type": "git",
|
6 | 6 | "url": "https://github.com/codesandbox/codesandbox-client",
|
|
14 | 14 | "scripts": {
|
15 | 15 | "build": "yarn build:lib",
|
16 | 16 | "build:dev": "yarn build",
|
17 |
| - "build:lib": "yarn clean && yarn tsc && yarn cpx \"src/**/*.{css,svg,png,jpg,woff,woff2}\" lib", |
| 17 | + "build:lib": "yarn clean && yarn tsc && yarn build:copy-external", |
| 18 | + "build:copy-external": "cp -r ../common/lib/design-language lib/ && cp ../common/lib/themes/codesandbox-* lib/themes/", |
18 | 19 | "build:storybook": "build-storybook -c .storybook -o public",
|
19 | 20 | "clean": "rimraf lib && yarn rimraf node_modules/@types/react && yarn rimraf node_modules/@types/react-native",
|
20 | 21 | "lint": "eslint --ext .js,.ts,.tsx src",
|
21 |
| - "prepublish": "yarn build", |
22 |
| - "start": "(yarn tsc --watch & yarn cpx \"src/**/*.{css,svg,png,jpg,woff,woff2}\" lib --watch)", |
| 22 | + "start": "yarn tsc --watch", |
23 | 23 | "start:storybook": "start-storybook",
|
24 | 24 | "typecheck": "tsc --noEmit",
|
25 | 25 | "chromatic": "if-env CIRCLE_BRANCH=master && yarn chromatic:master || yarn chromatic:branch",
|
26 | 26 | "chromatic:master": "CHROMATIC_APP_CODE=nffds42ndde ./node_modules/.bin/chromatic --build-script-name=build:storybook --exit-zero-on-changes --auto-accept-changes",
|
27 | 27 | "chromatic:branch": "CHROMATIC_APP_CODE=nffds42ndde ./node_modules/.bin/chromatic --build-script-name=build:storybook --exit-zero-on-changes",
|
28 |
| - "publish": "np" |
| 28 | + "prepublish": "yarn build" |
29 | 29 | },
|
30 | 30 | "dependencies": {
|
31 | 31 | "@codesandbox/common": "^1.0.8",
|
|
36 | 36 | "codesandbox-api": "0.0.24",
|
37 | 37 | "color": "3.1.2",
|
38 | 38 | "date-fns": "^2.8.1",
|
| 39 | + "deepmerge": "^4.2.2", |
| 40 | + "dot-object": "^2.1.3", |
39 | 41 | "react-router-dom": "^5.1.2",
|
| 42 | + "react-tagsinput": "^3.19.0", |
40 | 43 | "styled-components": "^4.4.1",
|
41 | 44 | "typeface-inter": "^3.11.2"
|
42 | 45 | },
|
|
0 commit comments