Skip to content
Snippets Groups Projects
package.json 1.67 KiB
Newer Older
{
  "name": "eclipsefdn-eclipse-org",
  "description": "Source code for new eclipse.org website",
  "main": "webpack.min.js",
  "author": "Christopher Guindon",
  "license": "EPL-2.0",
  "version": "0.0.0",
  "bugs": {
    "url": "https://github.com/eclipsefdn/eclipse.org/issues"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/eclipsefdn/eclipse.org.git"
  },
  "scripts": {
    "dev": "NODE_ENV=development webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
    "watch": "NODE_ENV=development webpack --watch --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
    "hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
    "production": "NODE_ENV=production webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
    "install": "NODE_ENV=production npm run production",
    "postinstall": "npm run fetch_projects && npm run yaml2json_projects",
    "fetch_projects": "node node_modules/eclipsefdn-hugo-solstice-theme/bin/projects/index.js -l data -u https://projects.eclipse.org/api/projects",
    "yaml2json_projects": "node node_modules/js-yaml/bin/js-yaml.js -c data/eclipsefdn_projects.yaml | node node_modules/json-minify/index.js > static/js/projects.json",
    "disallow_robots_txt": "echo \"User-agent: *\r\nDisallow: /\" > layouts/robots.txt",
    "build_netlify": "NODE_ENV=production npm run disallow_robots_txt && npm run production"
  },
  "dependencies": {
Zhou Fang's avatar
Zhou Fang committed
  },
  "browserslist": "last 5 version, > 0.2%, not dead, IE 11"