forked from Quramy/typescript-css-modules-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.77 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
{
"name": "typescript-css-modules-demo",
"version": "1.0.0",
"description": "demonstration for CSS Modules and TypeScript",
"main": "index.js",
"scripts": {
"dts": "tcm src -o src_gen",
"postinstall": "npm run dts",
"clean": "rimraf dist built src_gen",
"copy": "mkdir -p dist && cpx src/index.html dist && cpx src/components/0-Logo/logo.svg dist",
"pretranspile": "npm run dts",
"transpile": "tsc",
"prebundle": "cpx \"src/**/*.css\" built && cpx \"src/**/*.tsx\" built",
"bundle": "browserify -p [css-modulesify -o dist/bundle.css src/components/App.css] -o dist/bundle.js built/index.js",
"build": "npm run copy && npm run transpile && npm run bundle",
"start": "npm run build && opener dist/index.html",
"deploy": "npm run clean && npm run build && gh-pages -d dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Quramy/typescript-css-modules-demo.git"
},
"keywords": [
"css-modules",
"typescript"
],
"author": "quramy",
"license": "MIT",
"bugs": {
"url": "https://github.com/Quramy/typescript-css-modules-demo/issues"
},
"homepage": "https://github.com/Quramy/typescript-css-modules-demo#readme",
"dependencies": {
"react": "^15.3.2",
"react-dom": "^15.3.2"
},
"devDependencies": {
"@types/node": "^6.0.46",
"@types/react": "^0.14.46",
"@types/react-dom": "^0.14.18",
"brfs": "git://github.com/joshwnj/brfs.git#ignore-option",
"browserify": "^13.0.0",
"cpx": "^1.5.0",
"css-modulesify": "^0.16.1",
"opener": "^1.4.2",
"rimraf": "^2.5.4",
"typed-css-modules": "^0.1.6",
"typescript": "^2.0.8"
},
"browserify": {
"transform": [
[
"brfs",
{
"ignore": "\\.(json|css)$"
}
]
]
}
}