-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
100 lines (100 loc) · 3.43 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
{
"name": "libcrowds-viewer",
"description": "A Vue component for crowdsourcing Web Annotations.",
"version": "5.1.1",
"main": "dist/main.js",
"author": "Alex Mendes <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/LibCrowds/libcrowds-viewer.git"
},
"bugs": {
"url": "https://github.com/LibCrowds/libcrowds-viewer/issues"
},
"homepage": "https://github.com/LibCrowds/libcrowds-viewer",
"scripts": {
"test": "cross-env NODE_ENV=test jest --coverage",
"lint": "eslint --ext .js,.vue src demo",
"clean": "rimraf dist",
"build": "npm run clean && cross-env NODE_ENV=production webpack --config=config/webpack.prod.config.js --progress --hide-modules",
"prepublish": "(not-in-publish && echo 'Skipping prepublish') || npm run require-npm4-to-publish",
"require-npm4-to-publish": "echo semver -r '>=4.0.0' $(npm --version) || (echo 'NPM 4+ required to publish' && exit 1)",
"prepublishOnly": "npm test && npm run build",
"dev": "cross-env NODE_ENV=development webpack-dev-server --config=config/webpack.demo.config.js --hot",
"demo:build": "cross-env NODE_ENV=production webpack --config=config/webpack.demo.config.js --progress --hide-modules",
"demo:clean": "rimraf ./demo/dist",
"demo:deploy": "npm run demo:clean && npm run demo:build && gh-pages -d demo/dist/"
},
"dependencies": {
"es6-object-assign": "^1.1.0",
"es6-promise": "^4.1.1",
"hint.css": "^2.5.0",
"normalize.css": "^8.0.0",
"openseadragon": "~2.3.1",
"uuid": "^3.1.0",
"vue-awesome": "^2.3.1",
"vue-form-generator": "^2.0.0"
},
"devDependencies": {
"babel-core": "^6.0.0",
"babel-eslint": "^8.0.2",
"babel-jest": "^22.0.0",
"babel-loader": "^7.1.2",
"babel-plugin-module-resolver": "^3.1.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.5.2",
"babel-preset-stage-2": "^6.24.1",
"copy-webpack-plugin": "^4.2.0",
"cross-env": "^5.1.1",
"css-loader": "^0.28.7",
"eslint": "^4.18.0",
"eslint-config-standard": "^11.0.0",
"eslint-friendly-formatter": "^3.0.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-html": "^4.0.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^6.0.0",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.5",
"gh-pages": "^1.0.0",
"html-webpack-plugin": "^3.0.0",
"imports-loader": "^0.8.0",
"in-publish": "^2.0.0",
"jasmine-core": "^3.0.0",
"jest": "^22.1.4",
"jest-vue-preprocessor": "^1.4.0",
"node-sass": "^4.5.0",
"optimize-css-assets-webpack-plugin": "^4.0.0",
"rimraf": "^2.6.1",
"sass-loader": "^6.0.6",
"semver": "^5.4.1",
"style-loader": "^0.20.0",
"vue": "^2.5.16",
"vue-loader": "^14.0.0",
"vue-template-compiler": "^2.5.0",
"webpack": "^3.0.0",
"webpack-dev-server": "^2.5.1",
"webpack-merge": "^4.1.0",
"whatwg-fetch": "^2.0.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/jest-vue-preprocessor"
},
"collectCoverageFrom": [
"src/**/*.{js,vue}",
"!src/main.js",
"!**/node_modules/**"
],
"testRegex": "/test/specs/.*(test|spec)\\.jsx?$"
}
}