101 строка
3.7 KiB
JSON
101 строка
3.7 KiB
JSON
{
|
|
"name": "newtab",
|
|
"version": "0.0.0",
|
|
"description": "Remote new tab (third version)",
|
|
"main": "src/main.js",
|
|
"scripts": {
|
|
"setup": "npm-run-all setup:*",
|
|
"setup:clean": "rm -rf www && mkdir www",
|
|
"setup:html": "node ./bin/generate-html.js > www/index.html",
|
|
"setup:intl": "node ./bin/generate-locale-data > www/locale-data.js",
|
|
"setup:static": "cp -r src/static/* www",
|
|
"setup:fake": "touch www/main.js www/main.css",
|
|
"setup:offline": "bin/generate-offline-files.js",
|
|
"build": "npm run setup && npm-run-all build:*",
|
|
"build:js": "NODE_ENV=production webpack -p --optimize-dedupe",
|
|
"build:css": "node-sass src/main.scss -o www",
|
|
"postbuild": "node ./bin/generate-directories --static www -o build",
|
|
"postbuild:css": "bin/generate-rtl.js",
|
|
"start": "npm run setup && npm-run-all --parallel watch:*",
|
|
"watch:css": "npm run build:css && npm run build:css -- --source-map www/main.css.map -w -r",
|
|
"watch:js": "webpack-dev-server --hot --port=1944 --content-base www",
|
|
"test:travis": "karma start --reporters mocha,coverage,coveralls && npm run test:mocha",
|
|
"test": "karma start && npm run test:mocha",
|
|
"test:mocha": "mocha ./tests-node -R spec",
|
|
"test:watch": "karma start --no-single-run --browsers ChromeCanary",
|
|
"test:codeclimate": "codeclimate-test-reporter < ./logs/reports/coverage/lcov/lcov.info",
|
|
"posttest": "awk 'FNR==1{print \"\"}1' ./logs/reports/coverage/text-summary.txt ./logs/reports/coverage/text.txt"
|
|
},
|
|
"author": "k88hudson",
|
|
"license": "MPL-2.0",
|
|
"repository": "https://github.com/mozilla/remote-newtab",
|
|
"devDependencies": {
|
|
"babel": "^6.3.13",
|
|
"babel-core": "^6.3.17",
|
|
"babel-loader": "^6.2.0",
|
|
"babel-plugin-transform-es2015-destructuring": "^6.3.15",
|
|
"babel-plugin-transform-es2015-parameters": "^6.3.18",
|
|
"babel-plugin-transform-object-rest-spread": "^6.3.13",
|
|
"babel-plugin-transform-strict-mode": "^6.3.13",
|
|
"babel-polyfill": "^6.3.14",
|
|
"babel-preset-es2015": "^6.3.13",
|
|
"babel-preset-react": "^6.3.13",
|
|
"chai": "^3.4.1",
|
|
"chai-as-promised": "^5.1.0",
|
|
"cli-color": "^1.1.0",
|
|
"codeclimate-test-reporter": "^0.1.0",
|
|
"cssjanus": "1.1.2",
|
|
"eslint": "^1.10.2",
|
|
"eslint-config-airbnb": "^1.0.2",
|
|
"eslint-loader": "^1.1.1",
|
|
"eslint-plugin-react": "^3.10.0",
|
|
"fs-extra": "^0.26.2",
|
|
"glob": "^5.0.14",
|
|
"handlebars": "^4.0.4",
|
|
"html2js": "^0.2.0",
|
|
"inject-loader": "^2.0.1",
|
|
"istanbul-instrumenter-loader": "^0.1.3",
|
|
"jscs": "^2.8.0",
|
|
"jscs-loader": "^0.2.0",
|
|
"jshint": "^2.8.0",
|
|
"karma": "^0.13.15",
|
|
"karma-chai": "^0.1.0",
|
|
"karma-chai-as-promised": "^0.1.2",
|
|
"karma-chrome-launcher": "^0.2.2",
|
|
"karma-coverage": "^0.5.0",
|
|
"karma-coveralls": "^1.1.2",
|
|
"karma-express-http-server": "0.0.1",
|
|
"karma-firefox-launcher": "^0.1.7",
|
|
"karma-html2js-preprocessor": "^0.1.0",
|
|
"karma-mocha": "^0.2.1",
|
|
"karma-mocha-reporter": "^1.1.3",
|
|
"karma-requirejs": "^0.2.2",
|
|
"karma-sourcemap-loader": "^0.3.6",
|
|
"karma-webpack": "^1.7.0",
|
|
"marcosc-async": "^1.0.2",
|
|
"minimist": "^1.2.0",
|
|
"mocha": "^2.3.4",
|
|
"mozilla-download": "^1.1.1",
|
|
"nock": "^3.5.0",
|
|
"node-fetch": "^1.3.3",
|
|
"node-sass": "^3.4.2",
|
|
"npm-run-all": "^1.4.0",
|
|
"react-addons-test-utils": "^0.14.5",
|
|
"redux-mock-store": "0.0.3",
|
|
"requirejs": "^2.1.20",
|
|
"webpack": "^1.12.9",
|
|
"webpack-dev-server": "^1.14.0",
|
|
"webpack-notifier": "^1.2.1"
|
|
},
|
|
"dependencies": {
|
|
"classnames": "2.2.1",
|
|
"react": "^0.14.6",
|
|
"react-dom": "0.14.3",
|
|
"react-intl": "2.0.0-beta-2",
|
|
"react-redux": "4.0.1",
|
|
"redux": "3.0.5",
|
|
"redux-logger": "2.2.1",
|
|
"redux-thunk": "1.0.2"
|
|
}
|
|
}
|