Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "cra-lib",
- "version": "0.1.0",
- "private": false,
- "author": {
- "name": "Stokedbits"
- },
- "main": "build/lib/components/index.js",
- "types": "build/lib/components/index.d.ts",
- "engines": {
- "node": ">=8.0.0"
- },
- "dependencies": {
- "@types/enzyme": "^3.1.3",
- "@types/enzyme-adapter-react-16": "^1.0.1",
- "bootstrap": "^4.0.0-beta.2",
- "enzyme": "^3.1.1",
- "enzyme-adapter-react-16": "^1.0.4",
- "react": "^16.1.0",
- "react-docgen-typescript": "^1.1.0",
- "react-dom": "^16.1.0"
- },
- "scripts": {
- "start:js": "react-scripts-ts start",
- "start": "npm-run-all -p watch:sass:to:css start:js",
- "build:js": "react-scripts-ts build",
- "build": "npm-run-all build:sass:to:css build:js",
- "build:lib": "tsc && npm build && npm run build:sass:to:css && npm run copy:css:to:lib",
- "test": "react-scripts-ts test --env=jsdom",
- "eject": "react-scripts-ts eject",
- "styleguide": "npm-run-all -p watch:sass:to:css styleguidist",
- "styleguidist": "styleguidist server",
- "styleguide:build": "styleguidist build",
- "deploy:docs": "npm run styleguide:build && gh-pages -d styleguide",
- "copy:css:to:lib": "npm run copy:base:css && npm run copy:component:css",
- "copy:base:css": "cpx \"./src/**/*.css\" ./build/lib/",
- "copy:component:css": "cpx \"./src/components/**/*.css\" ./build/lib/components",
- "build:sass:to:css": "node-sass-chokidar src/ -o src/",
- "watch:sass:to:css": "node-sass-chokidar src/ -o src/ --watch --recursive"
- },
- "devDependencies": {
- "@types/jest": "^21.1.5",
- "@types/node": "^8.0.50",
- "@types/react": "^16.0.22",
- "@types/react-dom": "^16.0.3",
- "node-sass-chokidar": "0.0.3",
- "npm-run-all": "^4.1.2",
- "react-scripts-ts": "^2.8.0",
- "react-styleguidist": "^6.0.33"
- },
- "files": [
- "build/lib"
- ]
- }
Add Comment
Please, Sign In to add comment