-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.45 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
{
"name": "cmz",
"version": "3.13.0",
"description": "CSS Modules Zero",
"main": "lib/index.js",
"dependencies": {
"css-add-semis": "^1.2.0"
},
"bin": {
"cmz-min": "bin/min.js"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"browserify": "^16.3.0",
"standard": "^14.0.0",
"tap-spec": "^5.0.0",
"tape": "^4.11.0",
"uglify-es": "^3.0.15"
},
"scripts": {
"build": "npm run babel && npm run umd",
"babel": "npm run babel:prep && npm run babel:build",
"babel:prep": "rm -rf lib && mkdir lib",
"babel:build": "babel -d lib src",
"umd": "npm run umd:prep && npm run umd:build && npm run umd:minify",
"umd:prep": "rm -rf dist && mkdir dist",
"umd:build": "browserify --standalone cmz -o dist/cmz.js lib/index.js",
"umd:minify": "uglifyjs -o dist/cmz.min.js dist/cmz.js",
"lint": "standard",
"test": "tape tests/*.js | tap-spec",
"prepublishOnly": "npm run lint && npm test && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/joshwnj/cmz.git"
},
"standard": {
"ignore": [
"example"
]
},
"keywords": [],
"author": "joshwnj",
"license": "MIT",
"bugs": {
"url": "https://github.com/joshwnj/cmz/issues"
},
"homepage": "https://github.com/joshwnj/cmz#readme",
"directories": {
"example": "example",
"dist": "dist",
"lib": "lib",
"src": "src",
"test": "tests"
}
}