forked from nativescript-community/perms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
74 lines (74 loc) · 3.17 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
{
"version": "1.0.0",
"scripts": {
"tsc": "cp src/permissions.d.ts plugin && tsc -skipLibCheck -d",
"build": "lerna run build",
"demo.ios": "npm i && npm run tsc && cd demo && tns run ios",
"demo.android": "npm i && npm run tsc && cd demo && tns run android",
"clean.demo": "rimraf demo/hooks demo/node_modules demo/platforms",
"clean": "rimraf 'packages/**/*.d.ts' 'packages/**/*.js' 'packages/**/*.js.map' 'packages/**/*.metada' 'packages/**/angular/ng-package.json'",
"plugin.watch.tsc": "npm run tsc -- -w",
"plugin.watch.android": "npm i && npm-watch build.android",
"plugin.watch.ios": "npm i && npm-watch build.ios",
"plugin.watch": "npm run plugin.watch.tsc & npm run plugin.watch.android & npm run plugin.watch.ios",
"sync": "node ./tools/sync.js",
"setup": "npm run submodules && ts-patch install",
"prepare": "npm run setup",
"publish": "npm run clean && npm run build.all && npm run readme && npm run doc && lerna publish --no-private --create-release=github --force-publish",
"commitmsg": "commitlint -e $GIT_PARAMS",
"build.all": "npm run build",
"fullclean": "npm run clean && rimraf 'packages/**/node_modules' 'demo-*/hooks' 'demo-*/node_modules' 'package-lock.json' 'pnpm-lock.yaml' 'node_modules'",
"demo.vue.android": "cd ./demo-vue && ns run android --no-hmr --env.watchNodeModules",
"demo.vue.clean": "cd ./demo-vue && ns clean",
"demo.vue.ios": "cd ./demo-vue && ns run ios --no-hmr --env.watchNodeModules",
"doc": "node tools/builddoc.mjs",
"postinstall": "npm run setup",
"readme": "lerna run readme && node ./tools/readme.js",
"start": "./node_modules/.bin/ntl -A -s 15 -o",
"submodules": "git submodule update --init",
"update": "node ./tools/update.js"
},
"devDependencies": {
"@nativescript-community/plugin-seed-tools": "file:tools",
"@nativescript-community/template-snippet": "file:demo-snippets"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nativescript-community/perms.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/nativescript-community/perms/issues"
},
"homepage": "https://github.com/nativescript-community/perms#readme",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"ntl": {
"descriptions": {
"build": "Build the plugin",
"build.all": "Build the plugin for all platforms",
"clean": "Clean the local environment.",
"demo.vue.android": "Runs the Vue demo on Android.",
"demo.vue.ios": "Runs the Vue demo on iOS.",
"watch": "Watch for changes in the plugin source and re-build."
}
},
"workspaces": [
"packages/*",
"demo-vue",
"demo-ng",
"demo-svelte",
"demo-react",
"demo-snippets"
],
"engines": {
"npm": "please use yarn or pnpm",
"yarn": ">=1.19.1",
"pnpm": ">=7.0.0",
"node": "^14.20.0 || ^16.13.0 || >=18.10.0"
}
}