-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
155 lines (155 loc) · 4.63 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
{
"name": "observe-2ch-client",
"version": "0.1.0",
"description": "UI for Observe 2ch Web",
"author": "gutchom",
"license": "MIT",
"homepage": "https://observe-2ch.gutchom.com",
"repository": {
"type": "git",
"url": "https://github.com/gutchom/observe-2ch-client"
},
"bugs": {
"url": "https://github.com/gutchom/observe-2ch-client/issues"
},
"engines": {
"node": "^8.*",
"npm": "^5.*"
},
"scripts": {
"start": "cross-env NODE_ENV=development run-p -s count server:** 'build:** -- -w'",
"test": "cross-env NODE_ENV=test karma start",
"testing": "npm t -- --auto-watch --no-single-run",
"build": "cross-env NODE_ENV=production run-s lint:** test clean build:** count",
"build:image": "cpx ./src/images/**/* ./public/img",
"build:style": "postcss ./src/styles/pages/**/*.css -b ./src/styles/pages -d ./public/css",
"build:script": "webpack --progress",
"lint": "run-p lint:**",
"lint:style": "stylelint --fix ./src/styles/**/*.css",
"lint:script": "tslint -p tsconfig.json --fix ./src/**/*.ts*",
"server:mock": "cross-env PORT=${OBSERVE_2CH_PORT-3000} nodemon -w ./server ./server",
"server:sync": "browser-sync start -b 'google chrome' -f ./public -p localhost:${OBSERVE_2CH_PORT-3000} --port ${OBSERVE_2CH_SYNC-3333}",
"clean": "rimraf ./public && mkdirp ./public/js ./public/css ./public/img",
"count": "TOTAL=$(find ./src -name '*.ts*' -o -name '*.css' | xargs wc -l | tail -1); printf '\\e[36m\n This project has\\e[35m %s lines\\e[36m of source code!\n\n\\e[m' ${TOTAL%total}"
},
"dependencies": {
"@tweenjs/tween.js": "^17.1.1",
"axios": "^0.17.1",
"eventemitter3": "^2.0.3",
"normalize.css": "^7.0.0",
"react": "^16.1.1",
"react-dom": "^16.1.1",
"url-search-params-polyfill": "^2.0.1"
},
"devDependencies": {
"@types/enzyme": "^3.1.4",
"@types/eventemitter3": "^2.0.2",
"@types/mocha": "^2.2.44",
"@types/node": "^8.0.53",
"@types/power-assert": "^1.4.29",
"@types/react": "^16.0.23",
"@types/react-dom": "^16.0.3",
"@types/sinon": "^4.0.0",
"@types/tween.js": "16.9.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-airbnb": "^2.4.0",
"babel-preset-env": "^1.6.1",
"babel-preset-power-assert": "^1.0.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"body-parser": "^1.18.2",
"browser-sync": "^2.18.13",
"caniuse-lite": "^1.0.30000765",
"case-sensitive-paths-webpack-plugin": "^2.1.1",
"colors": "^1.1.2",
"cpx": "^1.5.0",
"cross-env": "^5.1.1",
"cssnano": "^3.10.0",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"eslint": "^4.11.0",
"express": "^4.16.2",
"git-pre-push": "0.0.5",
"glob": "^7.1.2",
"karma": "^1.7.1",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-power-assert": "^1.0.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-sourcemap-writer": "^0.1.2",
"karma-webpack": "^2.0.6",
"mkdirp": "^0.5.1",
"mocha": "^4.0.1",
"nodemon": "^1.12.1",
"npm-run-all": "^4.1.2",
"postcss": "^6.0.14",
"postcss-browser-reporter": "^0.5.0",
"postcss-cli": "^4.1.1",
"postcss-cssnext": "^3.0.2",
"postcss-import": "^11.0.0",
"postcss-reporter": "^5.0.0",
"power-assert": "^1.4.4",
"pre-commit": "^1.2.2",
"pug": "^2.0.0-rc.4",
"react-test-renderer": "^16.1.1",
"rimraf": "^2.6.2",
"sinon": "^4.1.2",
"stylelint": "^8.2.0",
"stylelint-config-standard": "^17.0.0",
"stylelint-order": "^0.7.0",
"ts-loader": "^3.1.1",
"tslint": "5.8.0",
"typescript": "^2.6.1",
"uglify-js": "^3.1.9",
"webpack": "^3.8.1"
},
"pre-commit": [
"lint"
],
"pre-push": [
"test"
],
"browserslist": [
"> 5%",
"last 2 versions"
],
"stylelint": {
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-order"
],
"rules": {
"order/properties-alphabetical-order": true,
"order/order": [
"custom-properties",
"declarations"
]
}
},
"babel": {
"presets": [
"env",
"react",
"stage-2"
],
"plugins": [
"transform-decorators-legacy",
"transform-class-properties",
"syntax-object-rest-spread"
],
"env": {
"test": {
"presets": [
"airbnb",
"power-assert"
]
}
}
}
}