This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
102 lines (102 loc) · 3.83 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
{
"name": "linkr",
"version": "1.0.0",
"description": "Beautiful link shortening",
"scripts": {
"build": "npm run generate-secret && npm run build-css && npm run build-js && npm run build-html",
"build-js": "mkdir -p frontend/static/dist && webpack --config frontend/config/webpack",
"build-css": "mkdir -p frontend/static/dist && node-sass --output-style compressed frontend/styles/main.scss frontend/static/dist/main.css",
"build-js-watch": "npm run build-js -- --watch --colors",
"build-css-watch": "npm run build-css -- --watch",
"build-html": "PYTHONPATH=. python scripts/build_html.py",
"generate-secret": "PYTHONPATH=. python scripts/generate_secret.py",
"dev": "concurrently --kill-others --prefix name --prefix-colors cyan.bold,yellow.bold,magenta.bold --names HTTP,JS,CSS 'npm run start' 'npm run build-js-watch' 'npm run build-css-watch'",
"start": "python linkr.py",
"lint": "npm run lint-backend && npm run lint-frontend",
"test": "npm run test-backend && npm run test-frontend",
"cover": "npm run cover-backend && npm run cover-frontend",
"coveralls": "npm run cover && coveralls-lcov -v -n coverage/lcov.info > js-coverage.json && coveralls --merge js-coverage.json && rm js-coverage.json",
"lint-backend": "flake8 **/*.py",
"test-backend": "nosetests --processes=-1 -v test",
"cover-backend": "coverage run --source=$(ls | grep -Ewv 'env|node_modules|test|scripts' | tr '\n' ',') -m unittest discover -s test/backend -v && coverage report -m",
"lint-frontend": "eslint --max-warnings 0 frontend/app test/frontend",
"test-frontend": "node test/frontend | tap-spec",
"cover-frontend": "istanbul cover test/frontend --print detail"
},
"repository": {
"type": "git",
"url": "https://github.com/LINKIWI/linkr.git"
},
"author": "Kevin Lin <[email protected]>",
"license": "MIT",
"pre-commit": [
"lint",
"test"
],
"dependencies": {
"async": "^2.1.5",
"babel-core": "^6.24.0",
"babel-runtime": "^6.23.0",
"body-parser": "^1.17.1",
"browser-request": "^0.3.3",
"cookie-parser": "^1.4.3",
"copy-to-clipboard": "^3.0.5",
"csjs": "^1.1.0",
"csjs-inject": "^1.0.1",
"dottie": "^2.0.0",
"express": "^4.15.2",
"flat": "^2.0.1",
"highlight.js": "^9.10.0",
"humanize": "^0.0.9",
"json-stringify-pretty-compact": "^1.0.2",
"morgan": "^1.7.0",
"piwik-react-router": "^0.8.2",
"preact": "^7.2.0",
"preact-compat": "^3.14.1",
"pug": "^2.0.0-beta9",
"range": "^0.0.3",
"raven-js": "^3.16.0",
"react": "^15.4.2",
"react-async-script": "^0.7.0",
"react-dom": "^15.4.2",
"react-favicon": "^0.0.5",
"react-google-recaptcha": "^0.6.0",
"react-helmet": "^4.0.0",
"react-icons": "^2.2.3",
"react-loading-hoc": "0.0.2",
"react-responsive": "^1.2.6",
"react-router": "^2.6.1",
"react-syntax-highlighter": "^5.0.0",
"safe-json-parse": "^4.0.0",
"string-template": "^1.0.0",
"url-parse": "^1.1.9"
},
"devDependencies": {
"babel": "^6.23.0",
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.0.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.8",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"concurrently": "^3.3.0",
"enzyme": "^2.6.0",
"eslint": "^3.3.1",
"eslint-config-uber-jsx": "^3.0.1",
"eslint-plugin-react": "^6.1.2",
"istanbul": "^1.1.0-alpha.1",
"jsdom": "^9.9.1",
"json-loader": "^0.5.4",
"node-sass": "^4.12.0",
"node-storage-shim": "^1.0.1",
"pre-commit": "^1.2.2",
"raw-loader": "^0.5.1",
"react-addons-test-utils": "^15.4.1",
"sinon": "^1.17.6",
"tap-spec": "^4.1.1",
"tape": "^4.6.0",
"webpack": "^3.0.0"
}
}