-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 2.42 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
{
"name": "react-amp-layout",
"version": "0.2.1",
"description": "The AMP layout system ported to React.js as a couple of easy to use components.",
"main": "distribution/index.js",
"files": [
"distribution"
],
"scripts": {
"clean": "rm -rf distribution",
"prepare": "mkdir -p distribution",
"prebuild": "npm run clean && npm run prepare",
"build": "babel source --out-dir distribution",
"test": "ava",
"release": "npm version $(conventional-recommended-bump -p angular)",
"push": "export version=$(cat .git/VERSION.tmp); export message=$(cat .git/COMMITMSG.tmp); git push && git push --tags && hub release create $version --message=\"${version}\n${message}\" && npm publish",
"postpush": "rm .git/VERSION.tmp .git/COMMITMSG.tmp",
"changelog": "conventional-changelog -p angular -si changelog.md",
"preversion": "npm run build && npm run test && npm run changelog",
"version": "git add . && conventional-changelog -p angular > .git/COMMITMSG.tmp && conventional-changelog -n .version.js > .git/VERSION.tmp",
"postversion": "export version=$(cat .git/VERSION.tmp); export message=$(cat .git/COMMITMSG.tmp); git tag -d $version && git commit --amend -m \"chore(release): ${version}\n${message}\" && git tag -a $version -m \"${message}\""
},
"ava": {
"files": [
"test/**/*.js",
"!test/_util-render.js"
],
"source": [
"source/**/*.js"
],
"require": [
"babel-register"
],
"babel": "inherit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nerdlabs/react-amp-layout.git"
},
"bugs": {
"url": "https://github.com/nerdlabs/react-amp-layout/issues"
},
"homepage": "https://github.com/nerdlabs/react-amp-layout#readme",
"keywords": [
"react",
"amp",
"layout",
"css",
"responsive"
],
"author": {
"name": "nerdlabs",
"email": "[email protected]"
},
"contributors": [
{
"name": "Bjoern Brauer",
"email": "[email protected]"
}
],
"license": "MIT",
"devDependencies": {
"ava": "0.16.0",
"babel": "6.5.2",
"babel-cli": "6.14.0",
"babel-preset-es2015": "6.14.0",
"babel-preset-react": "6.5.0",
"babel-preset-stage-0": "6.5.0",
"babel-register": "6.7.2",
"conventional-changelog-cli": "1.1.1",
"conventional-recommended-bump": "0.1.2",
"react-addons-test-utils": "0.14.7"
},
"peerDependencies": {
"react": "0.14"
}
}