-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
109 lines (109 loc) · 3.57 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
{
"name": "cerner-smart-embeddable-lib",
"version": "1.7.0",
"author": "Cerner Corporation, SMART on FHIR",
"description": "== README",
"license": "== LICENSE",
"style": "dist/css/cerner-smart-embeddable-lib.css",
"less": "src/less/manifest.less",
"main": "lib/js/index.js",
"files": [
"dist",
"lib",
"src"
],
"keywords": [
"Cerner",
"SMART",
"embeddable",
"cerner smart embeddable library"
],
"repository": {
"type": "git",
"url": "https://github.com/cerner/cerner-smart-embeddable-lib.git"
},
"scripts": {
"build": "npm run test && npm run clean && npm run lint && npm run build-es5 && npm run build-webpack && npm run build-minify",
"build-doc": "jsdoc --package package.json -d target/doc ./src/js/",
"clean": "rimraf dist lib target",
"build-es5": "babel src --out-dir lib",
"build-webpack": "webpack --progress --colors --display-error-details",
"build-minify": "npm run build-minify-js && npm run build-minify-css",
"build-minify-js": "cross-env-shell uglifyjs dist/js/$npm_package_name-$npm_package_version.js -o dist/js/$npm_package_name-$npm_package_version.min.js",
"build-minify-css": "cross-env-shell lessc --clean-css dist/css/$npm_package_name-$npm_package_version.css dist/css/$npm_package_name-$npm_package_version.min.css",
"lint": "npm run lint-js && npm run lint-less",
"lint-less": "lesshint ./src/less/",
"lint-js": "eslint ./src/js/*.js --config .eslintrc --fix",
"test": "karma start test/karma.conf.js --single-run --no-auto-watch",
"debug": "karma start test/karma.conf.js --browsers=Chrome --no-single-run --auto-watch --debug",
"prepare": "npm run build",
"prepublishOnly": "npm whoami && npm test",
"preversion": "npm run test",
"version": "npm run build && git add -A",
"postversion": "git push && git push --tags && rm -rf build/temp",
"release:major": "node ./scripts/release/release.js major",
"release:minor": "node ./scripts/release/release.js minor",
"release:patch": "node ./scripts/release/release.js patch"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"xfc": "^1.8.1"
},
"sourceFiles": {
"js": [
"./src/js"
],
"css": [
"./src/css"
]
},
"mockFiles": [
"./test/mock"
],
"testFiles": [
"./test/spec"
],
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.5",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.9.0",
"commander": "^2.16.0",
"cross-env": "5.1.1",
"css-loader": "^3.0.0",
"csslint": "^1.0.5",
"eslint": "^4.4.1",
"eslint-config-airbnb-base": "^11.3.1",
"eslint-plugin-import": "^2.13.0",
"extract-text-webpack-plugin": "^3.0.0",
"istanbul-instrumenter-loader": "^3.0.1",
"jasmine-core": "^2.7.0",
"jsdoc": "^3.5.4",
"karma": "^5.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^2.0.3",
"karma-firefox-launcher": "^1.0.0",
"karma-jasmine": "^1.1.0",
"karma-phantomjs-launcher": "^1.0.4",
"karma-requirejs": "^1.1.0",
"karma-spec-reporter": "0.0.31",
"karma-webpack": "^2.0.4",
"less": "^3.7.1",
"less-loader": "^4.1.0",
"less-plugin-clean-css": "^1.5.1",
"lesshint": "^2.3.0",
"matchdep": "^1.0.0",
"prettyjson": "^1.1.3",
"requirejs": "^2.2.0",
"rimraf": "^2.5.4",
"shelljs": "^0.7.6",
"style-loader": "^0.18.2",
"uglify-js": "^3.4.5",
"webpack": "^3.12.0",
"webpack-dev-server": "^3.1.11",
"webpack-strip-block": "^0.2.0"
}
}