/
package.json
169 lines (169 loc) · 5.49 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "miew",
"version": "0.7.18",
"description": "Miew - 3D Molecular Viewer",
"author": "EPAM Systems, Inc.",
"main": "dist/Miew.js",
"module": "dist/Miew.module.js",
"style": "dist/Miew.min.css",
"files": [
"dist/**/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/epam/miew.git"
},
"license": "MIT",
"scripts": {
"ci": "run-s clean lint test-cover build",
"lint": "run-s lint:*",
"lint-fix": "run-s \"lint:* -- --fix\"",
"lint:js": "eslint -f unix *.js src/ demo/ examples/ test/ tools/",
"lint:css": "stylelint src/**/*.scss demo/**/*.scss",
"test": "run-s test:unit",
"test-cover": "cross-env NODE_ENV=coverage nyc mocha",
"test:unit": "mocha",
"test:e2e": "rimraf ./test/e2e/mismatch/*.png && mocha --opts ./test/mocha.e2e.opts",
"start": "webpack-dev-server --mode development --open",
"clean": "rimraf build/* coverage/*",
"build": "run-s build:*",
"build:js": "run-s build:js:*",
"build:js:bundle": "rollup -c",
"build:js:minify": "uglifyjs build/dist/Miew.js -o build/dist/Miew.min.js -mc drop_console=true --comments /copyright/i --source-map \"content='build/dist/Miew.js.map',url='Miew.min.js.map'\"",
"build:css": "run-s build:css:*",
"build:css:bundle": "node-sass --source-map=true --source-map-contents=true --output-style=expanded src/Miew.scss -o build/dist",
"build:css:prefix": "postcss build/dist/Miew.css -o build/dist/Miew.css --map --use autoprefixer",
"build:css:minify": "postcss build/dist/Miew.css -o build/dist/Miew.min.css --map --use cssnano",
"build:demo": "webpack --mode production",
"build:examples": "ncp examples/ build/examples/ && run-s build:examples:*",
"build:examples:webpack": "cd build/examples/ && webpack --mode production --config miew_via_webpack.config.js",
"build:examples:browserify": "cd build/examples/ && browserify -e miew_via_browserify.js -o miew_via_browserify.bundle.js",
"build:docs": "jsdoc -c jsdoc.config.js",
"demo": "node tools/serve.js",
"show:cover": "node tools/open.js coverage/lcov-report/index.html",
"show:docs": "node tools/open.js build/docs/index.html",
"show:e2e": "node tools/open.js test/e2e/mismatch/*.html",
"dist": "ncp build/dist/ dist/ && git add -A dist",
"preversion": "run-s lint test",
"version": "cross-env NODE_ENV=production run-s build:js build:css dist",
"jison": "node tools/jison.js src/utils/*.jison",
"jison:one": "node ./tools/jison.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"bugs": {
"url": "https://github.com/epam/miew/issues"
},
"homepage": "https://github.com/epam/miew#readme",
"keywords": [
"molecule",
"protein",
"chemistry",
"webgl",
"threejs"
],
"browserslist": [
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Safari versions",
"last 2 Edge versions",
"IE >= 11",
"last 2 iOS versions",
"last 1 Android version",
"last 2 ChromeAndroid versions",
"last 2 FirefoxAndroid versions"
],
"nyc": {
"cache": true,
"all": true,
"include": [
"src/**/*.js",
"!src/**/*.test.js"
],
"exclude": [
"@(node_modules|dist|build|vendor|demo|coverage|docs|examples|test|tools)",
"**/*.test.js"
],
"require": [
"babel-register"
],
"reporter": [
"lcov",
"text-summary"
],
"sourceMap": false,
"instrument": false
},
"greenkeeper": {
"ignore": [
"bootstrap"
]
},
"devDependencies": {
"autoprefixer": "^8.5.1",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-istanbul": "^4.1.6",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"bootstrap": "^3.3.7",
"bootstrap-switch": "^3.3.4",
"browserify": "^16.2.2",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"copy-webpack-plugin": "^4.5.1",
"coveralls": "^3.0.1",
"cross-env": "^5.1.6",
"css-loader": "^0.28.11",
"cssnano": "^3.10.0",
"dirty-chai": "^2.0.1",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.12.0",
"express": "^4.16.3",
"extract-text-webpack-plugin": "v4.0.0-alpha.0",
"file-loader": "^1.1.11",
"glob": "^7.1.2",
"handlebars": "^4.0.11",
"html-webpack-plugin": "^3.2.0",
"jison": "^0.4.18",
"jquery": "^3.3.1",
"jquery.terminal": "^1.14.0",
"jsdoc": "^3.5.5",
"lodash": "^4.17.10",
"mocha": "^5.2.0",
"ncp": "^2.0.0",
"node-resemble-js": "^0.2.0",
"node-sass": "^4.9.0",
"npm-run-all": "^4.1.3",
"nyc": "^12.0.2",
"open": "^0.0.5",
"postcss-cli": "^5.0.0",
"raw-loader": "^0.5.1",
"rimraf": "^2.6.2",
"rollup": "^0.59.4",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-string": "^2.0.2",
"sass-loader": "^7.0.1",
"selenium-webdriver": "^3.5.0",
"sinon": "^5.0.10",
"sinon-chai": "^3.1.0",
"spin.js": "^4.0.0",
"string-replace-webpack-plugin": "^0.1.3",
"style-loader": "^0.21.0",
"stylelint": "^9.2.1",
"stylelint-config-standard": "^18.2.0",
"three": "0.92.0",
"toastr": "^2.1.4",
"uglify-js": "^3.3.27",
"url-loader": "^1.0.1",
"webpack": "^4.8.3",
"webpack-cli": "^2.1.4",
"webpack-dev-server": "^3.1.4",
"yargs": "^11.0.0"
}
}