Skip to content
Snippets Groups Projects
package.json 4.61 KiB
Newer Older
Ray Schamp's avatar
Ray Schamp committed
{
  "name": "scratch-gui",
  "version": "0.1.0",
  "description": "GraphicaL User Interface for creating and running Scratch 3.0 projects",
  "main": "./dist/scratch-gui.js",
Ray Schamp's avatar
Ray Schamp committed
  "scripts": {
    "build": "npm run clean && webpack --progress --colors --bail",
chrisgarrity's avatar
chrisgarrity committed
    "clean": "rimraf ./build && mkdirp build && rimraf ./dist && mkdirp dist",
    "deploy": "touch build/.nojekyll && gh-pages -t -d build -m \"Build for $(git log --pretty=format:%H -n1)\"",
    "prune": "./prune-gh-pages.sh",
    "i18n:src": "babel src > tmp.js && rimraf tmp.js && build-i18n-src ./translations/messages/src ./translations/",
    "start": "webpack-dev-server",
    "test": "npm run test:lint && npm run test:unit && npm run build && npm run test:integration",
    "test:integration": "jest --runInBand test[\\\\/]integration",
    "test:lint": "eslint . --ext .js,.jsx",
    "test:unit": "jest test[\\\\/]unit",
    "test:smoke": "jest --runInBand test[\\\\/]smoke",
    "watch": "webpack --progress --colors --watch"
Ray Schamp's avatar
Ray Schamp committed
  },
  "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": {
Paul Kaplan's avatar
Paul Kaplan committed
    "react": "^16.0.0",
    "react-dom": "^16.0.0"
Ray Schamp's avatar
Ray Schamp committed
  "devDependencies": {
Paul Kaplan's avatar
Paul Kaplan committed
    "raf": "^3.4.0",
Paul Kaplan's avatar
Paul Kaplan committed
    "react-ga": "2.5.3",
Paul Kaplan's avatar
Paul Kaplan committed
    "xhr": "2.5.0"
    "setupFiles": [
Paul Kaplan's avatar
Paul Kaplan committed
      "raf/polyfill",
      "<rootDir>/test/helpers/enzyme-setup.js"
    ],
    "moduleNameMapper": {
      "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js",
      "\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js"
    }
Ray Schamp's avatar
Ray Schamp committed
  }
}