This repository has been archived by the owner on Dec 14, 2019. It is now read-only.
/
package.json
82 lines (82 loc) · 3.2 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
{
"name": "papertrain",
"description": "Papertrain: a Craft CMS toolkit",
"version": "0.2.1",
"author": "Pageworks",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Pageworks/papertrain.git"
},
"keywords": [
"craft cms",
"craft 3",
"toolkit",
"cli"
],
"bugs": {
"url": "https://github.com/Pageworks/papertrain/issues",
"email": "web@page.works"
},
"scripts": {
"precommit": "lint-staged",
"lint:sass": "stylelint *.scss --cache --config ./build-tools/.stylelintrc --cache-location ./build-tools/.stylelintcache",
"lint:typescript": "tslint *.ts -c ./build-tools/.tslintrc.js -p ./tsconfig.json -t verbose",
"webpack": "cross-env NODE_ENV=development webpack --config ./webpack.config.js",
"tsc": "tsc",
"create": "node ./build-tools/generator/generate.js",
"setup": "node ./build-tools/setup/setup.js",
"preview": "node ./build-tools/sync.js",
"compile": "node ./build-tools/compile.config.js && npm-run-all compile:*",
"compile:scripts": "tsc && cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"compile:styles": "cross-env NODE_ENV=production node ./build-tools/sass.config.js",
"compile:lint": "npm-run-all lint:*",
"dev": "node ./build-tools/compile.config.js && npm-run-all dev:*",
"dev:typescript": "tsc",
"dev:bundle": "cross-env NODE_ENV=development webpack --config ./webpack.config.js",
"dev:sass": "cross-env NODE_ENV=development node ./build-tools/sass.config.js",
"production": "node ./build-tools/compile.config.js && npm-run-all production:*",
"production:scripts": "tsc && cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"production:styles": "cross-env NODE_ENV=production node ./build-tools/sass.config.js"
},
"lint-staged": {
"linters": {
"./templates/**/*.ts": "npm run lint:typescript",
"./templates/**/*.scss": "npm run lint:sass",
"./utils/scripts/**/*.ts": "npm run lint:typescript",
"./utils/styles/**/*.scss": "npm run lint:sass"
}
},
"dependencies": {
"@pageworks/device-manager": "^1.2.3",
"@pageworks/pjax": "^2.1.4",
"@pageworks/state-manager": "^1.0.2",
"uuid": "^3.3.2",
"webpack": "^4.33.0",
"webpack-cli": "^3.3.3",
"terser-webpack-plugin": "^1.3.0",
"chalk": "^2.4.2",
"clear": "^0.1.0",
"cross-env": "^5.2.0",
"dotenv": "^6.2.0",
"node-sass": "^4.11.0",
"npm-run-all": "^4.1.5",
"open": "^6.3.0",
"ora": "^3.4.0",
"typescript": "^3.5.1"
},
"devDependencies": {
"browser-sync": "^2.26.7",
"figlet": "^1.2.3",
"husky": "^1.3.1",
"inquirer": "^6.3.1",
"lint-staged": "^7.3.0",
"stylelint": "^9.10.1",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-scss": "^3.8.0",
"tslint": "^5.17.0",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.18.0",
"watch": "^1.0.2"
}
}