This repository has been archived by the owner on Oct 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
96 lines (96 loc) · 2.33 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
{
"name": "wp-amp-theme",
"version": "0.1.0",
"description": "WordPress AMP Theme",
"private": true,
"main": "index.js",
"scripts": {
"test": "DIFF_BASE=develop ./node_modules/wp-dev-lib/pre-commit",
"dev": "cross-env NODE_ENV=development gulp --gulpfile $(npm root)/undercurrent/src/index.js --cwd $(npm prefix) --workflow theme",
"build": "cross-env NODE_ENV=production gulp --gulpfile $(npm root)/undercurrent/src/index.js --cwd $(npm prefix) --workflow theme && bundlesize"
},
"workflows": {
"theme": {
"cwd": "assets",
"schema": "./assets/schema/amp.json",
"tasks": "./assets/tasks"
}
},
"bundlesize": [
{
"path": "./assets/dist/css/main.css",
"maxSize": "50 kB"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/xwp/ampnews.git"
},
"author": "",
"license": "GPL-2.0+",
"bugs": {
"url": "https://github.com/xwp/ampnews/issues"
},
"homepage": "https://github.com/xwp/ampnews#readme",
"stylelint": {
"extends": "stylelint-config-xwp/scss",
"rules": {
"media-feature-name-no-unknown": [
true,
{
"ignoreMediaFeatureNames": [
"/query/"
]
}
],
"selector-type-no-unknown": [
true,
{
"ignoreTypes": [
"/^amp-/"
]
}
],
"plugin/no-unsupported-browser-features": [
true,
{
"ignore": [
"background-img-opts",
"border-radius",
"calc",
"css-boxshadow",
"css-transitions",
"fontface",
"font-unicode-range",
"flexbox",
"object-fit",
"outline",
"transforms2d",
"viewport-units",
"will-change",
"word-break"
]
}
]
}
},
"browserslist": [
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Safari versions",
"last 2 Edge versions",
"last 2 iOS versions",
"last 1 Android version",
"last 1 ChromeAndroid version",
"ie 11",
"> 3%"
],
"devDependencies": {
"bundlesize": "^0.15.3",
"eslint": "^4.13.1",
"eslint-config-wordpress": "^2.0.0",
"scss-query": "^1.0.1",
"undercurrent": "^0.1.3",
"wp-dev-lib": "github:xwp/wp-dev-lib"
}
}