Skip to content
Snippets Groups Projects
package.json 3.89 KiB
Newer Older
  • Learn to ignore specific revisions
  • 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": "./src/index.js",
      "scripts": {
    
        "build": "npm run clean && npm run i18n:msgs && webpack --progress --colors --bail",
    
        "clean": "rimraf ./build && mkdirp build",
    
        "deploy": "touch build/.nojekyll && gh-pages -t -d build -m \"Build for $(git log --pretty=format:%H -n1)\"",
    
    chrisgarrity's avatar
    chrisgarrity committed
        "i18n:msgs": "node ./scripts/generate-locale-messages.js",
    
        "i18n:src": "babel src > tmp.js && rimraf tmp.js && ./scripts/build-i18n-source.js ./translations/messages/ ./translations/",
    
    chrisgarrity's avatar
    chrisgarrity committed
        "start": "npm run i18n:msgs && webpack-dev-server",
    
        "test": "npm run test:lint && npm run build && npm run test:unit && npm run test:integration",
        "test:integration": "jest --runInBand test[\\\\/]integration",
        "test:lint": "eslint . --ext .js,.jsx",
        "test:unit": "jest test[\\\\/]unit",
    
        "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": {
    
        "react": "^15.6.1",
        "react-dom": "^15.6.1"
    
    Ray Schamp's avatar
    Ray Schamp committed
      "devDependencies": {
    
    DD Liu's avatar
    DD Liu committed
        "setupFiles": [
            "<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
      }
    }