-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
114 lines (114 loc) · 4.22 KB
/
package.json
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
{
"name": "front-end-app",
"version": "0.8.0",
"description": "Front-end application for Android in Cloud project.",
"repository": {
"type": "git",
"url": "[email protected]:aic_vm/front-end-app.git"
},
"scripts": {
"build:app": "webpack --progress",
"build:create-dir": "mkdir -p build/css || true",
"build:create-babel-helpers": "babel-external-helpers > build/babel-helpers.js",
"build:css": "lessc src/less/main.less build/css/main.css",
"build": "npm run build:create-dir && npm run build:create-babel-helpers && npm run copy-static && npm run build:css && npm run build:app",
"copy-static": "npm run copy-static:files && npm run copy-static:noVNC && npm run copy-static:mdi",
"copy-static:files": "cp -R src/www/* build/",
"copy-static:noVNC": "mkdir -p build/noVNC || true && cp ./node_modules/noVNC/include/base.css ./node_modules/noVNC/include/*.js build/noVNC/",
"copy-static:mdi": "cp ./node_modules/mdi/css/materialdesignicons.min.css* build/css/ && mkdir -p build/fonts || true && cp ./node_modules/mdi/fonts/* build/fonts/ ",
"create-conf-from-env": "create-json-from-env --input config-sample.json --output config.json --match \"^AIC_FRONTEND_(.+)\" --match-split \"([^_.]+)_(.+)\"",
"start": "webpack-dev-server --host 0.0.0.0 --content-base ./build/ --history-api-fallback --progress --port 9080 --hot --inline",
"test": "npm run test:code-style && npm run test:coverage && npm run test:no-console",
"test:coverage": "nyc --extension .jsx npm run test:unit && nyc report --reporter=lcov && nyc report --reporter=text-summary",
"test:coverage-check": "npm run test:coverage && nyc check-coverage --lines 100 --functions 100 --branches 100",
"test:unit": "NODE_PATH=./src ava --tap | tap-nyan",
"test:unit-verbose": "NODE_PATH=./src ava",
"test:no-console": "echo \"Verifying for console usage. Please use debug package instead.\" && ! grep -rnw 'src' -e \"console\" && echo \"Yes! No console.something being used! Good Job!\"",
"test:no-todos": "echo \"Verifying for TODOs.\" && ! grep -rnw 'src' -e \"TODO\" && echo \"Yes! No TODOs to do! Good Job!\"",
"test:code-style": "xo",
"start-story": "start-storybook --dont-track -c stories/config -p 9001 --static-dir ./build/",
"build:story": "build-storybook -c stories/config -o build/stories/"
},
"author": "Karine Pires",
"dependencies": {
"@kadira/storybook": "2.16.1",
"attr-accept": "1.0.3",
"babel-cli": "6.11.4",
"babel-core": "6.13.2",
"babel-loader": "6.2.5",
"babel-preset-es2015": "6.13.2",
"babel-preset-es2015-native-modules": "6.9.4",
"babel-preset-react": "6.11.1",
"babel-preset-stage-0": "6.5.0",
"debug": "2.6.9",
"formsy-react": "0.18.1",
"less": "2.7.1",
"lodash": "4.17.12",
"material-ui": "0.15.4",
"mdi": "1.7.22",
"noVNC": "git+https://github.com/kanaka/noVNC.git#v0.6.1",
"raw-loader": "0.5.1",
"react": "15.3.2",
"react-ace": "3.6.0",
"react-addons-css-transition-group": "15.3.2",
"react-dom": "15.3.2",
"react-router": "2.7.0",
"react-tap-event-plugin": "1.0.0",
"reflux": "0.4.1",
"reflux-core": "0.3.0",
"reflux-promise": "1.0.4",
"schema-inspector": "1.6.9",
"webpack": "2.1.0-beta.21"
},
"devDependencies": {
"ava": "0.16.0",
"create-json-from-env": "https://github.com/UCF-project/create-json-from-env.git",
"enzyme": "2.4.1",
"eslint": "4.18.2",
"eslint-config-xo-react": "0.9.0",
"eslint-plugin-react": "6.1.2",
"http-server": "0.9.0",
"nyc": "8.1.0",
"react-addons-test-utils": "15.3.2",
"tap-nyan": "0.0.2",
"webpack-dev-server": "3.1.11",
"xo": "0.16.0"
},
"config": {
"loglevel": "warn"
},
"xo": {
"esnext": true,
"extends": [
"xo-react"
],
"ignores": [
"build/**/*"
],
"rules": {
"import/no-extraneous-dependencies": "off"
}
},
"ava": {
"failFast": true,
"verbose": true,
"require": "babel-core/register",
"files": [
"test/**/*.js",
"!test/unit/utils/*.js"
]
},
"nyc": {
"extensions": [
".jsx"
]
},
"babel": {
"presets": [
"react",
"es2015",
"stage-0"
],
"sourceMaps": "both"
}
}