2016-10-23 01:56:27 +03:00
|
|
|
{
|
|
|
|
"name": "curriculum-localization",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "Website that hosts curriculum localization campaign information",
|
|
|
|
"engines": {
|
|
|
|
"node": "^6.9.0",
|
|
|
|
"npm": "^3.0.0"
|
|
|
|
},
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2016-10-25 23:54:59 +03:00
|
|
|
"prebuild": "shx rm -rf dist && shx mkdir -p dist/about dist/curriculum dist/contact dist/tools && shx cp -r src/assets dist/assets && shx cp src/index.html dist/index.html && shx cp src/pages.html dist/about/index.html && shx cp src/pages.html dist/curriculum/index.html && shx cp src/pages.html dist/contact/index.html && shx cp src/pages.html dist/tools/index.html",
|
2016-10-23 18:44:50 +03:00
|
|
|
"build": "npm run build:css && npm run build:js",
|
2016-10-23 01:56:27 +03:00
|
|
|
"build:css": "node-sass src/index.scss dist/compiled.css --output-style=compressed && postcss --use autoprefixer --autoprefixer.browsers 'last 3 versions' -o dist/compiled.css dist/compiled.css",
|
|
|
|
"build:js": "webpack --optimize-minimize",
|
2016-10-23 18:44:50 +03:00
|
|
|
"deploy": "WEBSITE_ROOT=curriculum-localization node scripts/deploy.js",
|
2016-10-25 22:38:40 +03:00
|
|
|
"server": "live-server ./dist --port=8002",
|
2016-10-23 18:44:50 +03:00
|
|
|
"start": "npm run prebuild && npm run build:css && npm-run-all --parallel watch:** server",
|
2016-10-23 02:12:29 +03:00
|
|
|
"test": "echo \"Error: no test specified\"",
|
2016-10-23 01:56:27 +03:00
|
|
|
"watch:css": "chokidar 'src/**/*.scss' -c 'npm run build:css'",
|
|
|
|
"watch:js": "npm run build:js -- --watch"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/mozilla/curriculum-localization.git"
|
|
|
|
},
|
|
|
|
"author": "Mozilla",
|
|
|
|
"license": "MPL-2.0",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/mozilla/curriculum-localization/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/mozilla/curriculum-localization#readme",
|
|
|
|
"dependencies": {
|
|
|
|
"mofo-bootstrap": "^2.0.0",
|
|
|
|
"mofo-style": "^2.4.0",
|
|
|
|
"mofo-ui": "^1.6.0",
|
|
|
|
"react": "^15.3.2",
|
|
|
|
"react-dom": "^15.3.2",
|
|
|
|
"react-router": "^2.8.1"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"autoprefixer": "^6.5.1",
|
|
|
|
"babel-core": "^6.17.0",
|
|
|
|
"babel-loader": "^6.2.5",
|
|
|
|
"babel-preset-es2015": "^6.16.0",
|
|
|
|
"babel-preset-react": "^6.16.0",
|
|
|
|
"chokidar": "^1.6.1",
|
|
|
|
"chokidar-cli": "^1.2.0",
|
|
|
|
"eslint": "^3.8.1",
|
|
|
|
"eslint-plugin-react": "^6.4.1",
|
|
|
|
"json-loader": "^0.5.4",
|
|
|
|
"live-server": "^1.1.0",
|
|
|
|
"node-sass": "^3.10.1",
|
|
|
|
"nodegit": "^0.16.0",
|
|
|
|
"npm-run-all": "^3.1.1",
|
|
|
|
"postcss-cli-simple": "^1.0.1",
|
2016-10-23 02:07:04 +03:00
|
|
|
"shelljs": "^0.7.4",
|
2016-10-23 01:56:27 +03:00
|
|
|
"shx": "^0.1.4",
|
|
|
|
"webpack": "^1.13.2"
|
|
|
|
}
|
|
|
|
}
|