-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
82 lines (82 loc) · 2.61 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
{
"name": "rozklad_cdtu",
"version": "0.0.4",
"description": "Webapp for showing and editing students schedule",
"main": "./web/js/main_common.js",
"author": "Nikolai Shytyk",
"repository": {
"type": "git",
"url": "git://github.com/rtm7777/rozklad_cdtu.git"
},
"bugs": {
"url": "https://github.com/rtm7777/rozklad_cdtu/issues"
},
"license": "MIT",
"scripts": {
"build": "NODE_ENV=production browserify web/js/main_common.js -o public/main.js",
"build_less": "lessc --source-map-map-inline web/less/main.less > public/css/main.css",
"build_min": "uglifyjs public/main.js -o public/main.min.js -m -p -c drop_console --screw-ie8 ",
"watch_js": "watchify web/js/main_common.js -o public/main.js -v -d",
"watch_less": "watch 'npm run build_less' 'web/less'",
"watch": "npm run watch_less & npm run watch_js",
"copy:img": "rsync -av web/img public",
"copy:bs-fonts": "rsync -av node_modules/bootstrap/dist/fonts public",
"copy:bs-css": "rsync -av node_modules/bootstrap/dist/css public",
"copy:jquery": "rsync -av node_modules/jquery/dist/jquery.min.js public",
"copy:bs": "rsync -av node_modules/bootstrap/dist/js/bootstrap.min.js public",
"copy": "npm run copy:img && npm run copy:bs-fonts && npm run copy:bs-css && npm run copy:jquery && npm run copy:bs",
"build_all": "npm run build && npm run build_min && npm run copy && npm run build_less",
"test": "BABEL_JEST_STAGE=0 jest"
},
"browserify": {
"transform": [
[
"babelify"
]
]
},
"jest": {
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
"unmockedModulePathPatterns": [
"<rootDir>/node_modules/react"
],
"testFileExtensions": [
"js"
],
"moduleFileExtensions": [
"js"
],
"testDirectoryName": "tests",
"testPathDirs": [
"<rootDir>/web/js/"
]
},
"dependencies": {
"bootstrap": "^3.3.2",
"jquery": "^2.1.3"
},
"devDependencies": {
"babel-core": "^6.9.0",
"babel-eslint": "^7.2.0",
"babel-jest": "^20.0.0",
"babel-plugin-transform-class-properties": "^6.0.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.0.0",
"babel-preset-react": "^6.0.0",
"babelify": "^7.0.0",
"browserify": "^14.0.0",
"debounce": "^1.0.0",
"dexie": "^1.0.0",
"eslint": "^4.0.0",
"eslint-plugin-react": "^7.0.0",
"flux": "^3.0.0",
"jest-cli": "^20.0.0",
"less": "^2.7.0",
"prop-types": "^15.5.7",
"react": "^15.0.0",
"react-dom": "^15.0.0",
"react-router-dom": "^4.0.0",
"uglify-js": "^2.0.0",
"watch": "^1.0.0",
"watchify": "^3.0.0"
}
}