This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
forked from wp-papi/papi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.48 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
{
"name": "papi",
"version": "3.2.0",
"repository": "wp-papi/papi",
"description": "WordPress Page Type API with custom fields",
"author": "Fredrik Forsmo <[email protected]>",
"license": "MIT",
"dependencies": {
"moment": "^2.11",
"select2": "^4.0.5"
},
"devDependencies": {
"@babel/core": "^7.8.7",
"@jitesoft/babel-preset-main": "^2.1.5",
"autoprefixer-cli": "^1.0",
"babel": "^6.5",
"babel-core": "^6.17",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.0.6",
"babel-preset-es2015": "^6.18",
"concurrently": "^5.1.0",
"core-js": "^3.6.4",
"csso-cli": "^3.0.0",
"sass": "^1.17.2",
"semistandard": "^14.2.0",
"watch": "^1.0",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11"
},
"scripts": {
"build": "NODE_ENV=production npm run js",
"css": "sass src/assets/scss/style.scss dist/css/style.css && autoprefixer-cli -b \"last 2 version\" dist/css/style.css dist/css/style.css && csso dist/css/style.css dist/css/style.min.css && echo \"\n/*# sourceMappingURL=style.min.css.map */\" >> dist/css/style.min.css && mv dist/css/style.css.map dist/css/style.min.css.map && rm dist/css/style.css",
"js": "webpack",
"lint": "semistandard --global papi --fix src/assets/js/*.js src/assets/js/properties/*.js",
"watch": "concurrently \"watch:css\" \"watch:js\"",
"watch:css": "watch \"npm run css\"",
"watch:js": "watch \"npm run js\""
},
"semistandard": {
"parser": "babel-eslint"
}
}