Skip to content
Snippets Groups Projects
  • Ray Schamp's avatar
    16fbb64c
    Use CSS modules for styles · 16fbb64c
    Ray Schamp authored
    The inline css method gives us nothing that CSS modules can't give us. This puts the project more in line with the way www works, and makes CSS actually readable.
    
    Using class names gives us full control of the modal styles.
    16fbb64c
    History
    Use CSS modules for styles
    Ray Schamp authored
    The inline css method gives us nothing that CSS modules can't give us. This puts the project more in line with the way www works, and makes CSS actually readable.
    
    Using class names gives us full control of the modal styles.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
This project manages its dependencies using npm. Learn more
package.json 2.36 KiB
{
  "name": "scratch-gui",
  "version": "0.1.0",
  "description": "GraphicaL User Interface for creating and running Scratch 3.0 projects",
  "main": "./src/index.js",
  "config": {
    "port": 8601
  },
  "scripts": {
    "build": "npm run clean && webpack --progress --colors --bail",
    "clean": "rm -rf ./build && mkdir -p build",
    "deploy": "touch build/.nojekyll && gh-pages -t -d build -m \"Build for $(git log --pretty=format:%H -n1)\"",
    "lint": "eslint . --ext .js,.jsx",
    "postmerge": "opt --in postmerge --exec 'npm install'",
    "postrewrite": "opt --in postrewrite --exec 'npm install'",
    "precommit": "opt --in precommit --exec 'npm run lint'",
    "prepush": "opt --in prepush --exec 'npm run test'",
    "start": "webpack-dev-server --port $npm_package_config_port --content-base=./build",
    "test": "npm run lint && npm run build"
  },
  "author": "Massachusetts Institute of Technology",
  "license": "BSD-3-Clause",
  "homepage": "https://github.com/LLK/scratch-gui#readme",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/LLK/scratch-gui.git"
  },
  "peerDependencies": {
    "react": "15.x.x",
    "react-dom": "15.x.x"
  },
  "devDependencies": {
    "autoprefixer": "6.5.3",
    "babel-core": "6.14.0",
    "babel-eslint": "7.0.0",
    "babel-loader": "6.2.5",
    "babel-plugin-transform-object-rest-spread": "6.16.0",
    "babel-preset-es2015": "6.14.0",
    "babel-preset-react": "6.11.1",
    "classnames": "2.2.5",
    "copy-webpack-plugin": "3.0.1",
    "css-loader": "0.26.1",
    "eslint": "3.8.1",
    "eslint-config-scratch": "^3.0.0",
    "eslint-plugin-react": "6.4.1",
    "gh-pages": "0.11.0",
    "html-webpack-plugin": "2.22.0",
    "husky": "0.11.9",
    "json-loader": "0.5.4",
    "lodash.bindall": "4.4.0",
    "lodash.defaultsdeep": "4.4.0",
    "minilog": "3.0.1",
    "opt-cli": "1.5.1",
    "postcss-loader": "1.2.0",
    "react": "15.3.2",
    "react-dom": "15.3.2",
    "react-modal": "1.5.2",
    "react-redux": "4.4.6",
    "react-style-proptype": "1.2.0",
    "redux": "3.6.0",
    "scratch-blocks": "latest",
    "scratch-render": "latest",
    "scratch-vm": "latest",
    "style-loader": "0.13.1",
    "svg-to-image": "1.1.3",
    "svg-url-loader": "1.1.0",
    "travis-after-all": "1.4.4",
    "webpack": "1.13.2",
    "webpack-combine-loaders": "2.0.3",
    "webpack-dev-server": "1.15.2",
    "xhr": "2.2.2"
  }
}