1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
{
"name": "pixelated-user-agent-web-ui",
"version": "0.0.0",
"description": "The front-end module for the pixelated user agent",
"repository": "https://github.com/pixelated-project/pixelated-user-agent",
"private": true,
"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.22.2",
"babel-core": "^6.21.0",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.10",
"babel-plugin-istanbul": "^3.1.2",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.22.0",
"babel-preset-stage-0": "^6.22.0",
"bower": "1.7.9",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.26.1",
"dompurify": "^0.8.4",
"enzyme": "^2.7.1",
"eslint": "^3.17.1",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.9.0",
"expect": "^1.20.2",
"file-loader": "^0.10.0",
"font-awesome": "^4.7.0",
"handlebars": "^4.0.5",
"he": "^1.1.0",
"html-minifier": "2.1.6",
"i18next": "^6.1.2",
"i18next-browser-languagedetector": "^1.0.1",
"i18next-xhr-backend": "^1.2.1",
"iframe-resizer": "^3.5.7",
"imagemin": "5.2.1",
"imagemin-pngquant": "^5.0.0",
"imagemin-svgo": "^5.2.0",
"jasmine-flight": "^4.0.0",
"jasmine-jquery": "^2.1.1",
"jquery": "^3.1.1",
"jquery-file-upload": "^4.0.5",
"jquery-ui": "^1.12.1",
"jsdom": "^9.10.0",
"jshint": "2.9.2",
"json-loader": "^0.5.4",
"karma": "0.13.19",
"karma-chrome-launcher": "0.2.2",
"karma-coverage": "0.2.7",
"karma-firefox-launcher": "0.1.7",
"karma-jasmine": "0.2.2",
"karma-jasmine-ajax": "0.1.13",
"karma-junit-reporter": "0.2.2",
"karma-phantomjs-launcher": "1.0.1",
"karma-requirejs": "1.0.0",
"material-ui": "^0.17.0",
"minify": "^2.0.13",
"mocha": "^3.2.0",
"mocha-webpack": "^0.7.0",
"modernizr": "^3.3.1",
"node-sass": "^4.5.0",
"nyc": "^10.1.2",
"postcss-loader": "^1.2.2",
"quoted-printable": "^1.0.1",
"react": "^15.4.2",
"react-a11y": "^0.3.3",
"react-addons-test-utils": "^15.4.2",
"react-document-title": "^2.0.2",
"react-dom": "^15.4.2",
"react-i18next": "^2.1.0",
"react-tap-event-plugin": "^2.0.1",
"requirejs": "2.2.0",
"sass-loader": "^4.1.1",
"style-loader": "^0.13.1",
"typeahead.js": "^0.11.1",
"url-loader": "^0.5.7",
"utf8": "^2.1.2",
"validator": "^7.0.0",
"watch": "0.19.1",
"webpack": "^1.14.0"
},
"scripts": {
"test": "npm run lint --silent && npm run build:statics --silent && npm run test:unit && npm run test:integration",
"test:unit": "npm run test:coverage && npm run test:karma",
"test:integration": "mocha-webpack --webpack-config webpack.test.config.js --require test/integration/setup.js \"test/integration/**/*.spec.js\"",
"test:coverage": "NODE_ENV=test nyc --check-coverage npm run test:mocha",
"test:mocha": "mocha-webpack --webpack-config webpack.test.config.js \"src/**/*.spec.js\"",
"test:karma": "karma start --single-run $GRUNT_OPTS",
"test:watch:mocha": "npm run test:mocha -- --watch",
"test:watch:karma": "karma start",
"lint": "npm run lint:jshint && npm run lint:eslint",
"lint:jshint": "jshint --config=.jshintrc app test",
"lint:eslint": "eslint src test/unit",
"build": "npm run build:statics && npm run build:js",
"build:debug": "npm run build && karma start --browsers Chrome $GRUNT_OPTS",
"build:statics": "npm run clean && npm run build:handlebars && npm run add_git_version && npm run build:compass",
"build:prod": "npm run build:statics && webpack -p --config ./webpack.production.config.js",
"build:js": "webpack --colors --progress",
"build:compass": "compass compile",
"build:handlebars": "mkdir -p app/js/generated/hbs/ && handlebars app/templates/**/*.hbs > app/js/generated/hbs/templates.js --namespace=window.Pixelated --root .",
"watch": "npm run watch:compass & npm run watch:handlebars & npm run watch:js",
"watch:handlebars": "watch 'npm run build:handlebars' app/templates",
"watch:compass": "compass watch",
"watch:js": "webpack --colors --progress --watch",
"clean": "rm -rf app/js/generated/hbs/* app/css/*",
"imagemin": "node config/imagemin.js",
"package": "npm run build:prod && npm run imagemin",
"add_git_version": "/bin/bash config/add_git_version.sh"
},
"nyc": {
"include": [
"src/**/*.js"
]
}
}
|